:root{--bg: #0a0e17;--bg-gradient: linear-gradient(180deg, #0a0e17 0%, #0d1420 40%, #0f1825 100%);--surface: #151e2f;--surface-strong: #1a2844;--surface-border: #2a4a7f;--block-shadow: 4px 4px 0px #0d1b3e;--block-shadow-hover: 6px 6px 0px #0d1b3e, 12px 12px 0px #0a152f;--radius: 0px;--radius-lg: 0px;--text: #e2e8f0;--text-muted: #64748b;--accent-primary: #3b82f6;--accent-secondary: #8b5cf6;--accent-glow: 0 0 20px rgba(59, 130, 246, .3);--primary: #3b82f6;--primary-hover: #60a5fa;--danger: #ef4444;--success: #22c55e;--warning: #eab308}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.6;color:var(--text);background:var(--bg);background-image:var(--bg-gradient);background-attachment:fixed;min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column}main{flex:1}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1rem}.spinner{width:50px;height:50px;border:4px solid var(--surface-border);border-top-color:var(--accent-primary);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-container{padding:2rem;max-width:400px;margin:2rem auto;background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);text-align:center}.error-container h2{color:var(--danger);margin-bottom:1rem}.error-container button{margin-top:1rem;padding:.5rem 1rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);cursor:pointer}.navbar,.header{background:var(--surface);border-bottom:3px solid var(--surface-border);padding:.75rem 2rem;display:flex;align-items:center;position:sticky;top:0;z-index:100}.logo-link{display:flex;align-items:center;text-decoration:none;flex-shrink:0}.logo{height:32px;width:auto;display:block}.navbar-brand{font-size:1.5rem;font-weight:700;text-decoration:none;color:var(--accent-primary)}.header-right{display:flex;align-items:center;gap:1.5rem;margin-left:auto}.header-search input{width:220px;padding:.4rem .75rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);font:inherit;font-size:.85rem;transition:border-color .15s,box-shadow .15s}.header-search input:focus{outline:none;border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.header-search input::placeholder{color:var(--text-muted)}.navbar-menu,.header nav{display:flex;gap:1.5rem;align-items:center}.navbar-menu a,.header nav a{color:var(--text-muted);text-decoration:none;font-weight:500;padding:.25rem .5rem;border:2px solid transparent;transition:color .15s,border-color .15s}.navbar-menu a:hover,.header nav a:hover{color:var(--accent-primary);border-color:var(--accent-primary)}.user-name{color:var(--text-muted);white-space:nowrap}.logout-btn,.login-btn{padding:.45rem 1rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);cursor:pointer;text-decoration:none;font:inherit;font-weight:500;transition:border-color .15s,box-shadow .15s}.logout-btn:hover,.login-btn:hover{border-color:var(--accent-primary);box-shadow:var(--accent-glow)}.user-dropdown{position:relative}.user-dropdown-toggle{display:flex;align-items:center;gap:.5rem;padding:.35rem .75rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);cursor:pointer;font:inherit;font-weight:500;transition:border-color .15s}.user-dropdown-toggle:hover{border-color:var(--accent-primary)}.user-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex-shrink:0}.dropdown-arrow{font-size:.7rem;transition:transform .15s;line-height:1}.dropdown-arrow.open{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:100%;right:0;margin-top:4px;min-width:180px;background:var(--surface);border:2px solid var(--surface-border);z-index:200;display:flex;flex-direction:column}.dropdown-item{display:block;padding:.6rem 1rem;color:var(--text);text-decoration:none;font-size:.9rem;font-weight:500;background:none;border:none;text-align:left;cursor:pointer;transition:background .12s}.dropdown-item:hover{background:var(--surface-strong);color:var(--accent-primary)}.logout-item{color:var(--danger, #ef4444)}.logout-item:hover{color:var(--danger, #ef4444);background:var(--surface-strong)}.dropdown-divider{height:1px;background:var(--surface-border);margin:.25rem 0}.footer{background:var(--surface);color:var(--text-muted);padding:3rem 2rem 2rem;margin-top:auto;border-top:3px solid var(--surface-border)}.footer-inner{max-width:1200px;margin:0 auto}.footer-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;margin-bottom:2rem}.footer-col h4{color:var(--accent-primary);font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:1rem}.footer-col ul{list-style:none}.footer-col li{margin-bottom:.5rem}.footer-col a{color:var(--text-muted);text-decoration:none;font-size:.9rem;padding:.15rem 0;border-bottom:1px solid transparent;transition:color .15s,border-color .15s}.footer-col a:hover{color:var(--accent-primary);border-bottom-color:var(--accent-primary)}.footer-epic-note{font-size:.75rem;color:var(--text-muted);margin-top:1rem;line-height:1.4}.footer-epic-note a{color:var(--accent-primary)}.footer-bottom{border-top:2px solid var(--surface-border);padding-top:1.5rem;text-align:center}.footer-social{display:flex;justify-content:center;gap:1.5rem;margin-bottom:1rem}.footer-social a{color:var(--text-muted);display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:2px solid var(--surface-border);transition:color .15s,border-color .15s,box-shadow .15s}.footer-social a:hover{color:var(--accent-primary);border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.footer-social svg{width:18px;height:18px}.footer-copyright{font-size:.85rem;color:var(--text-muted);margin-bottom:.5rem}.footer-copyright a{color:var(--accent-primary);text-decoration:none}.footer-disclaimer{font-size:.75rem;color:var(--text-muted);opacity:.7}@media(max-width:768px){.footer-columns{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.footer-columns{grid-template-columns:1fr}}.toast-container{position:fixed;top:1rem;right:1rem;z-index:1000;display:flex;flex-direction:column;gap:1rem}.toast{padding:1rem;background:var(--surface-strong);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);animation:slideIn .3s ease-out}.toast.success{border-left:4px solid var(--success)}.toast.error{border-left:4px solid var(--danger)}.toast.warning{border-left:4px solid var(--warning)}@keyframes slideIn{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.container,.products{max-width:1200px;margin:0 auto;padding:2rem 1.5rem}.products>h1{margin-bottom:1.5rem}.search-bar{display:flex;gap:.75rem;margin-bottom:1.5rem;flex-wrap:wrap}.search-bar input{flex:1;min-width:220px}.category-filters{display:flex;gap:.6rem;margin-bottom:1.5rem;flex-wrap:wrap}.category-filters button{padding:.45rem 1.1rem;background:var(--surface);color:var(--text-muted);border:2px solid var(--surface-border);cursor:pointer;font:inherit;font-weight:600;transition:color .15s,border-color .15s,box-shadow .15s,background .15s}.category-filters button:hover{color:var(--accent-primary);border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.category-filters button.selected{color:var(--accent-primary);border-color:var(--accent-primary);box-shadow:var(--block-shadow);background:var(--surface-strong)}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2rem;padding:0}.no-products{grid-column:1 / -1;color:var(--text-muted);text-align:center;padding:3rem 1rem}.product-description{color:var(--text-muted);margin-bottom:1rem}.back-link{background:transparent;border:none;color:var(--text-muted);cursor:pointer;font:inherit;padding:.25rem 0;margin-bottom:1.5rem;border-bottom:2px solid transparent;transition:color .15s,border-color .15s}.back-link:hover{color:var(--accent-primary);border-bottom-color:var(--accent-primary)}.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.5rem;align-items:start}.product-gallery{display:flex;flex-direction:column;gap:.75rem}.gallery-main{background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);overflow:hidden}.gallery-main img{width:100%;display:block}.gallery-video-wrapper{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.gallery-video-wrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.gallery-thumbnails{display:flex;gap:.5rem;flex-wrap:wrap}.gallery-thumb{width:64px;height:64px;border:2px solid var(--surface-border);background:var(--surface);cursor:pointer;overflow:hidden;padding:0;transition:border-color .15s,box-shadow .15s}.gallery-thumb:hover,.gallery-thumb.active{border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}.thumb-video-icon{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#000;color:var(--accent-primary)}.thumb-video-icon svg{width:24px;height:24px}.product-info h1{font-size:2rem;margin:.75rem 0 .5rem;color:var(--text)}.product-info .price{color:var(--accent-primary);font-weight:700;font-size:1.5rem;margin-bottom:1rem}.product-info .description{color:var(--text-muted);margin-bottom:1.5rem}.category-pill{display:inline-block;padding:.3rem .9rem;background:var(--surface-strong);border:2px solid var(--accent-primary);color:var(--accent-primary);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em}.quantity-selector{margin-bottom:1.5rem}.quantity-selector label{display:block;color:var(--text-muted);font-size:.85rem;margin-bottom:.4rem}.quantity-selector .quantity-controls{display:flex;align-items:center;gap:.5rem}.quantity-selector .quantity-controls button{width:32px;height:32px;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);cursor:pointer;font-size:1rem;display:flex;align-items:center;justify-content:center;transition:border-color .15s,box-shadow .15s}.quantity-selector .quantity-controls button:hover{border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.quantity-selector .quantity-controls input{width:60px;text-align:center;-moz-appearance:textfield}.quantity-selector .quantity-controls input::-webkit-inner-spin-button,.quantity-selector .quantity-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cart-item-link{text-decoration:none;color:inherit;display:block}.cart-item-link:hover h4{color:var(--accent-primary)}.version-selector{margin-bottom:1.5rem}.version-selector label{display:block;color:var(--text-muted);font-size:.85rem;margin-bottom:.4rem}.version-selector select{width:100%;max-width:320px;padding:.55rem 2.5rem .55rem .75rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");background-repeat:no-repeat;background-position:right .75rem center;cursor:pointer}.attributes{margin-bottom:1.5rem}.attributes h3{font-size:1rem;color:var(--text);margin-bottom:.75rem}.attribute-pills{display:flex;flex-wrap:wrap;gap:.6rem}.attribute-pill{display:inline-flex;flex-direction:column;gap:.15rem;padding:.5rem .9rem;background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);min-width:110px}.attribute-name{color:var(--text-muted);font-size:.7rem;text-transform:uppercase;letter-spacing:.04em}.attribute-value{color:var(--text);font-weight:600}.add-to-cart{margin-top:.5rem}@media(max-width:768px){.product-detail{grid-template-columns:1fr;gap:1.5rem}}.product-card{background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);overflow:hidden;transition:box-shadow .15s,transform .15s,border-color .15s}.product-card:hover{transform:translateY(-4px);border-color:var(--accent-primary);box-shadow:var(--block-shadow-hover)}.product-card img{width:100%;height:200px;object-fit:cover;display:block}.product-info{padding:1rem}.product-info h3{margin-bottom:.5rem;font-size:1.1rem;color:var(--text)}.product-price{color:var(--accent-primary);font-weight:700;margin-bottom:.5rem}.view-btn{padding:.55rem 1.2rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);cursor:pointer;font-weight:600;text-decoration:none;display:inline-block;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.view-btn:hover{background:var(--surface);border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.cta-btn,.download-btn,.btn{padding:.55rem 1.2rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);cursor:pointer;font-weight:600;text-decoration:none;display:inline-block;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}.cta-btn:hover,.download-btn:hover:not(:disabled),.btn:hover:not(:disabled){background:var(--surface);border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.download-btn:disabled{background:var(--surface);color:var(--text-muted);cursor:not-allowed}.cta-btn.primary{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:var(--block-shadow)}.cta-btn.primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.cta-btn.secondary{background:var(--surface-strong);color:var(--text)}.btn--danger{border-color:var(--danger);color:var(--danger)}.btn--danger:hover{border-color:var(--danger)}.hero-section{background:var(--surface);border:3px solid var(--surface-border);box-shadow:var(--block-shadow);color:var(--text);padding:4rem 2rem;text-align:center;margin-bottom:3rem}.hero-section h1{font-size:3rem;margin-bottom:1rem;color:var(--accent-primary)}.hero-section p{font-size:1.2rem;max-width:600px;margin:0 auto 2rem;color:var(--text-muted)}.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.section{margin-bottom:3rem}.section>h2{font-size:1.6rem;margin-bottom:1.25rem;color:var(--text);border-left:4px solid var(--accent-primary);padding-left:.75rem}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem}.feature-card{padding:1.5rem;background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);transition:box-shadow .15s,transform .15s,border-color .15s}.feature-card:hover{transform:translateY(-4px);border-color:var(--accent-primary);box-shadow:var(--block-shadow-hover)}.feature-icon{width:40px;height:40px;margin-bottom:1rem;color:var(--accent-primary)}.feature-icon svg{width:100%;height:100%}.feature-card h3{margin-bottom:.5rem;color:var(--text)}.feature-card p{color:var(--text-muted)}.category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}.category-item{padding:1.25rem;text-align:center;cursor:pointer;color:var(--text);background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);transition:box-shadow .15s,border-color .15s}.category-item.selected{border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.home{max-width:1200px;margin:0 auto;padding:2rem 1.5rem}.home>h1{font-size:2.25rem;margin-bottom:.5rem;color:var(--accent-primary)}.home>p{color:var(--text-muted);margin-bottom:2rem}.featured-products{margin-bottom:3rem}.featured-products>h2{font-size:1.6rem;margin-bottom:1.25rem;color:var(--text);border-left:4px solid var(--accent-primary);padding-left:.75rem}.featured-products .products-grid{grid-template-columns:repeat(3,1fr)}@media(max-width:768px){.featured-products .products-grid{grid-template-columns:1fr}}.category-links{display:flex;flex-wrap:wrap;gap:.75rem}.category-links button{padding:.6rem 1.4rem;background:var(--surface);color:var(--text);border:2px solid var(--surface-border);cursor:pointer;font:inherit;font-weight:600;transition:color .15s,border-color .15s,box-shadow .15s,background .15s,transform .15s}.category-links button:hover{color:var(--accent-primary);border-color:var(--accent-primary);box-shadow:var(--block-shadow);transform:translateY(-2px)}h1,h2,h3{color:var(--text)}.page-title,.library h1,.products h1,.cart h1,.login h1{font-size:2rem;margin-bottom:.5rem;color:var(--text)}.library{max-width:960px;margin:0 auto;padding:2rem 1.5rem}.library h1{font-size:2rem;margin-bottom:.25rem}.library-subtitle{color:var(--text-muted);margin-bottom:2rem}.orders-list{display:flex;flex-direction:column;gap:1.5rem}.order-card{padding:1.25rem;background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);transition:box-shadow .15s,border-color .15s}.order-card:hover{border-color:var(--accent-primary);box-shadow:var(--block-shadow)}.order-header{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--surface-border);padding-bottom:.75rem;margin-bottom:1rem}.order-id{font-weight:600;color:var(--text)}.order-date{color:var(--text-muted);font-size:.85rem;margin-left:.75rem}.order-status{text-transform:capitalize;font-size:.8rem;padding:.25rem .6rem;background:var(--surface-strong);color:var(--text-muted);border:2px solid var(--surface-border)}.order-status.status--completed,.order-status.status--paid,.order-status.status--fulfilled{color:var(--success);border-color:var(--success)}.order-status.status--pending{color:var(--warning);border-color:var(--warning)}.order-items{display:flex;flex-direction:column;gap:.75rem}.library-item{display:flex;align-items:center;gap:1rem;background:var(--surface-strong);border:2px solid var(--surface-border);padding:.75rem}.library-item img{width:64px;height:64px;object-fit:cover;background:var(--bg)}.library-item-info{flex:1}.library-item-info h4{margin:0 0 .25rem;color:var(--text)}.library-item-info p{margin:0;color:var(--text-muted);font-size:.9rem}.empty-cart,.empty-library{text-align:center;color:var(--text-muted);padding:3rem 1rem;display:flex;flex-direction:column;align-items:center;gap:1rem}.empty-cart p,.empty-library p{margin:0}.empty-cart button{padding:.55rem 1.2rem;background:var(--surface-strong);color:var(--accent-primary);border:2px solid var(--accent-primary);cursor:pointer;font-weight:600;transition:background .15s,box-shadow .15s,transform .15s}.empty-cart button:hover{background:var(--surface);box-shadow:var(--block-shadow)}.cart{max-width:960px;margin:0 auto;padding:2rem 1.5rem}.cart-table{width:100%;border-collapse:collapse;background:var(--surface);border:2px solid var(--surface-border);overflow:hidden}.cart-table th,.cart-table td{padding:.85rem 1rem;border-bottom:2px solid var(--surface-border);color:var(--text)}.cart-table th{color:var(--accent-primary);text-align:left}.cart-item{display:flex;align-items:center;gap:.75rem}.cart-item img{width:48px;height:48px;object-fit:cover}.cart-summary{margin-top:1.5rem;padding:1.25rem;background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow)}.summary-row{display:flex;justify-content:space-between;color:var(--text);margin-bottom:.5rem}.login,.register{max-width:420px;margin:3rem auto;padding:2.5rem 2rem;background:var(--surface);border:3px solid var(--surface-border);box-shadow:var(--block-shadow);text-align:center}.login p,.register p{color:var(--text-muted);margin-bottom:1.75rem}.login .btn--lg,.register .btn--lg{width:100%;padding:.8rem 1.5rem;font-size:1.05rem}.login .page-subtitle,.register .page-subtitle{margin-bottom:1.75rem}.auth-divider{display:flex;align-items:center;gap:.75rem;margin:1.25rem 0;color:var(--text-muted);font-size:.85rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:2px;background:var(--surface-border)}.btn--register{background:var(--surface-strong);color:var(--accent-primary);border:2px solid var(--accent-primary);cursor:pointer;font-weight:600;transition:background .15s,box-shadow .15s,transform .15s}.btn--register:hover{background:var(--surface);box-shadow:var(--block-shadow)}.auth-switch{margin-top:1.25rem;color:var(--text-muted);font-size:.9rem}.link-btn{background:none;border:none;color:var(--accent-primary);cursor:pointer;font:inherit;font-size:.9rem;text-decoration:underline;padding:0}.link-btn:hover{color:var(--primary-hover)}.error-message{color:var(--danger);margin-bottom:1rem}.checkout-btn{width:100%;margin-top:1rem;padding:.75rem;background:var(--primary);color:#fff;border:2px solid var(--primary);font-weight:700;cursor:pointer;box-shadow:var(--block-shadow);transition:background .15s,box-shadow .15s,transform .15s}.checkout-btn:hover:not(:disabled){background:var(--primary-hover);border-color:var(--primary-hover)}.quantity-controls button{background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);width:28px;height:28px;cursor:pointer}.remove-btn{background:transparent;color:var(--danger);border:2px solid var(--danger);padding:.4rem .8rem;cursor:pointer}input,select,textarea{background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);padding:.55rem .75rem;font:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent-primary);box-shadow:var(--block-shadow)}@media(max-width:768px){.hero-section h1{font-size:2rem}.products-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem;padding:1rem}.category-grid{grid-template-columns:repeat(2,1fr)}.navbar,.header{flex-wrap:wrap;gap:.75rem}}.static-page{max-width:800px;margin:0 auto;padding:2rem 1.5rem}.static-page h1{font-size:2.25rem;margin-bottom:.5rem;color:var(--accent-primary)}.static-page .page-subtitle{color:var(--text-muted);margin-bottom:2rem;font-size:1.1rem}.static-section{margin-bottom:2rem}.static-section h2{font-size:1.3rem;margin-bottom:.75rem;color:var(--text);border-left:3px solid var(--accent-primary);padding-left:.75rem}.static-section h3{font-size:1.05rem;margin:1.25rem 0 .5rem;color:var(--text)}.static-content p{color:var(--text-muted);margin-bottom:.75rem;line-height:1.7}.static-content ol,.static-content ul{color:var(--text-muted);margin:.75rem 0 .75rem 1.5rem;line-height:1.7}.static-content li{margin-bottom:.4rem}.static-content strong{color:var(--text)}.static-content a{color:var(--accent-primary);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .15s}.static-content a:hover{border-bottom-color:var(--accent-primary)}.login-form{padding:1.5rem;background:var(--surface);border:2px solid var(--surface-border);box-shadow:var(--block-shadow);text-align:center}.login-form p{color:var(--text-muted);margin-bottom:1rem}.messages-page{margin:-2rem;height:calc(100vh - 60px);display:flex;flex-direction:column;min-height:500px}.messages-layout{display:flex;flex:1;border:2px solid var(--surface-border);background:var(--surface);margin:0}.messages-sidebar{width:320px;min-width:320px;border-right:2px solid var(--surface-border);display:flex;flex-direction:column;overflow:hidden}.messages-title{padding:1rem;font-size:1.1rem;border-bottom:2px solid var(--surface-border);margin:0}.conversation-list{list-style:none;overflow-y:auto;flex:1}.conversation-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;cursor:pointer;border-bottom:1px solid var(--surface-border);transition:background .12s}.conversation-item:hover{background:var(--surface-strong)}.conversation-item.active{background:var(--surface-strong);border-left:3px solid var(--accent-primary)}.conversation-item.unread{font-weight:700}.conv-avatar img{width:40px;height:40px;border-radius:50%;object-fit:cover}.conv-avatar-placeholder{width:40px;height:40px;border-radius:50%;background:var(--surface-strong);display:flex;align-items:center;justify-content:center;color:var(--text-muted);font-size:1.2rem}.conv-info{flex:1;min-width:0}.conv-name{font-size:.9rem;color:var(--text)}.conv-preview{font-size:.8rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.unread-badge{background:var(--accent-primary);color:#fff;font-size:.7rem;min-width:20px;height:20px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:700}.messages-main{flex:1;display:flex;flex-direction:column;overflow:hidden}.messages-header{padding:1rem;border-bottom:2px solid var(--surface-border);display:flex;align-items:center;gap:1rem}.messages-header h3{margin:0;font-size:1rem}.conv-product-ref{font-size:.8rem;color:var(--text-muted)}.messages-thread{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.message-bubble{max-width:70%;padding:.6rem 1rem;border-radius:8px;font-size:.9rem;word-wrap:break-word}.message-bubble.own{align-self:flex-end;background:var(--accent-primary);color:#fff;border-bottom-right-radius:2px}.message-bubble.other{align-self:flex-start;background:var(--surface-strong);color:var(--text);border-bottom-left-radius:2px}.message-time{font-size:.7rem;opacity:.7;margin-top:.3rem}.message-input-form{display:flex;gap:.5rem;padding:1rem;border-top:2px solid var(--surface-border)}.message-input-form input{flex:1;padding:.5rem .75rem;background:var(--surface-strong);color:var(--text);border:2px solid var(--surface-border);font:inherit;font-size:.9rem}.message-input-form input:focus{outline:none;border-color:var(--accent-primary)}.message-input-form button{padding:.5rem 1.25rem;background:var(--accent-primary);color:#fff;border:2px solid var(--accent-primary);cursor:pointer;font:inherit;font-weight:600;transition:opacity .15s}.message-input-form button:disabled{opacity:.4;cursor:default}.message-input-form button:hover:not(:disabled){opacity:.85}.checkout-page{max-width:600px;margin:0 auto;padding:2rem 0}.checkout-page h1{margin-bottom:1.5rem}.checkout-order-summary{background:var(--surface);border:2px solid var(--surface-border);padding:1rem 1.5rem;margin-bottom:1.5rem}.checkout-order-summary h3{margin-bottom:.25rem}.checkout-form{display:flex;flex-direction:column;gap:1rem}.checkout-error{color:var(--danger, #ef4444);font-size:.9rem;padding:.5rem;background:#ef44441a;border:1px solid var(--danger, #ef4444)}.checkout-pay-btn{padding:.75rem 1.5rem;background:var(--accent-primary);color:#fff;border:2px solid var(--accent-primary);cursor:pointer;font:inherit;font-weight:600;font-size:1.05rem;transition:opacity .15s}.checkout-pay-btn:disabled{opacity:.4;cursor:default}.checkout-pay-btn:hover:not(:disabled){opacity:.85}
