:root{--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;--font-display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--text: #111111;--muted: #444444;--muted-2: #666666;--placeholder: #9b9b9b;--bg: #ffffff;--bg-muted: #f7f7f7;--border: #eaeaea;--brand: #111111;--brand-600: #000000;--radius: 8px;--radius-sm: 6px;--pad: 12px;--pad-sm: 8px;--gap: 12px;--gap-sm: 8px;font-family:var(--font-sans);line-height:1.4;font-weight:400;color-scheme:light;color:var(--text);background-color:var(--bg);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:var(--brand)}body{margin:0;min-width:320px;min-height:100vh;color:var(--text);background-color:var(--bg)}@media(max-width:640px){body{padding-bottom:64px}}h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:600;line-height:1.2;letter-spacing:-.02em}h1{font-size:1.875rem}h2{font-size:1.5rem}h3{font-size:1.25rem}button{border-radius:var(--radius-sm);border:1px solid var(--border);padding:.5rem .75rem;font-size:.95rem;font-weight:500;font-family:var(--font-sans);background-color:var(--bg);color:var(--text);cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}button:hover{border-color:var(--brand);background-color:var(--bg-muted)}button:focus,button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.dark{--text: #ffffff;--muted: #b3b3b3;--muted-2: #999999;--placeholder: #666666;--bg: #111111;--bg-muted: #1a1a1a;--border: #2a2a2a;--brand: #ffffff;--brand-600: #e0e0e0}@media(prefers-color-scheme:light){:root{color:var(--text);background-color:var(--bg)}a:hover{color:var(--brand-600)}button{background-color:var(--bg)}}.navbar{background:var(--bg);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1000}.navbar-container{max-width:1200px;margin:0 auto;padding:10px 16px;display:flex;justify-content:space-between;align-items:center}.navbar-brand{display:flex;align-items:center}.navbar-logo-button{background:none;border:none;padding:0;cursor:pointer;display:flex;align-items:center;gap:10px;transition:opacity .2s}.navbar-logo-button:hover{opacity:.8}.navbar-logo{height:50px;width:auto;object-fit:contain;filter:none}.navbar-brand-name{font-size:18px;font-weight:600;color:var(--text);white-space:nowrap;font-family:var(--font-display);letter-spacing:.3px}.dark .navbar-logo,html.dark .navbar-logo,:root.dark .navbar-logo{filter:invert(1)!important}.navbar-menu{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.nav-link{text-decoration:none;color:var(--muted);font-weight:500;font-size:14px;padding:6px 8px;border-radius:var(--radius-sm);transition:background-color .2s,color .2s}.nav-link:hover{color:var(--text);background:var(--bg-muted)}.login-link{background:var(--brand);color:var(--bg);padding:6px 12px;border-radius:var(--radius-sm);border:1px solid var(--brand);text-decoration:none}.login-link:hover{color:var(--bg);background:var(--brand-600);border-color:var(--brand-600)}.user-menu{position:relative}.user-button{display:flex;align-items:center;gap:6px;background:var(--bg);border:none;padding:6px 10px;border-radius:var(--radius-sm);border:1px solid var(--border);cursor:pointer;font-weight:500;color:var(--muted);transition:background .2s,border-color .2s,color .2s}.user-button:hover{background:var(--bg-muted);color:var(--text);border-color:var(--brand)}.dropdown-arrow{font-size:10px;color:var(--muted-2)}.dropdown-menu{position:absolute;top:100%;right:0;margin-top:6px;background:var(--bg);border-radius:var(--radius);border:1px solid var(--border);min-width:200px;overflow:hidden}.dropdown-item{display:block;padding:8px 10px;text-decoration:none;color:var(--text);transition:background-color .2s;border:none;background:none;width:100%;text-align:left;cursor:pointer;font-size:14px}.dropdown-item:hover{background:var(--bg-muted)}.dropdown-item.logout{color:#b91c1c;border-top:1px solid var(--border)}.dropdown-item.logout:hover{background:#fef2f2}.dark .dropdown-item.logout:hover{background:#2a1a1a}.nav-button{border:1px solid var(--brand);padding:6px 12px;border-radius:var(--radius-sm);font-weight:500;cursor:pointer;transition:all .2s;font-size:14px;text-decoration:none;display:inline-flex;align-items:center;gap:6px;color:var(--bg);background:var(--brand);position:relative}.create-product-button{background:var(--brand);color:var(--bg)}.create-product-button:hover{background:var(--brand-600);border-color:var(--brand-600);color:var(--bg)}.requests-button{background:var(--brand);color:var(--bg);border:1px solid var(--brand)}.requests-button:hover{background:var(--brand-600);border-color:var(--brand-600);color:var(--bg)}.theme-toggle-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:var(--radius-sm);cursor:pointer;transition:all .2s}.theme-toggle-button:hover{background:var(--bg-muted);border-color:var(--brand)}.want-to-sell-button{display:none;align-items:center;justify-content:center;padding:6px 12px;border:1px solid var(--brand);background:var(--brand);color:var(--bg);border-radius:var(--radius-sm);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;white-space:nowrap}.want-to-sell-button:hover{background:var(--brand-600);border-color:var(--brand-600);transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.badge-dot{position:absolute;top:-4px;right:-4px;width:10px;height:10px;background:#ef4444;border-radius:999px;box-shadow:0 0 0 2px var(--bg)}.bottom-bar{display:none}@media(max-width:640px){.navbar{position:sticky;top:0;z-index:999}.navbar-container{display:flex;justify-content:space-between;align-items:center;padding:8px 12px}.navbar-brand{display:flex;align-items:center;flex:1;min-width:0}.navbar-logo-button{gap:8px}.navbar-brand-name{display:block;font-size:12px;letter-spacing:.3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navbar-logo{height:28px;flex-shrink:0}.navbar-menu{display:flex;align-items:center;gap:8px}.navbar-menu .nav-link,.navbar-menu .nav-button,.navbar-menu .user-menu,.navbar-menu .theme-toggle-button{display:none}.navbar-menu .want-to-sell-button{display:flex}.bottom-bar{display:flex;position:fixed;bottom:0;left:0;right:0;background:#ffffffd9;backdrop-filter:blur(40px) saturate(200%);-webkit-backdrop-filter:blur(40px) saturate(200%);border-top:1px solid rgba(0,0,0,.06);padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;z-index:1000;box-shadow:0 -4px 24px #00000014,0 -1px #0000000a;transform:translateY(0);transition:transform .35s cubic-bezier(.4,0,.2,1)}.bottom-bar-hidden{transform:translateY(100%)}.dark .bottom-bar{background:#111111d9;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 -4px 24px #0006,0 -1px #ffffff0d}.bottom-bar-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:8px;background:transparent;border:none;border-radius:12px;cursor:pointer;color:var(--muted);transition:all .25s cubic-bezier(.4,0,.2,1);position:relative;flex:1;min-width:0;font-family:var(--font-sans)}.bottom-bar-item:hover{background:#0000000a;color:var(--text)}.dark .bottom-bar-item:hover{background:#ffffff14}.bottom-bar-item:active{transform:scale(.92);background:#00000014}.dark .bottom-bar-item:active{background:#ffffff1f}.bottom-bar-item svg{color:var(--muted);transition:all .25s cubic-bezier(.4,0,.2,1);stroke-width:2.5}.bottom-bar-item:hover svg,.bottom-bar-item:active svg,.bottom-bar-item:focus svg{color:var(--text);transform:scale(1.1);stroke-width:3}.bottom-bar-label{display:none}.bottom-bar-badge{position:absolute;top:6px;right:10px;background:linear-gradient(135deg,#ef4444,#dc2626);color:#fff;font-size:10px;font-weight:700;padding:3px 6px;border-radius:12px;min-width:18px;height:18px;text-align:center;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #ef444466,0 0 0 2px #ffffffe6;font-family:var(--font-sans);letter-spacing:-.01em}.dark .bottom-bar-badge{box-shadow:0 2px 8px #ef444480,0 0 0 2px #111111e6}.bottom-bar-item-requests{position:relative}}.product-detail-overlay{position:fixed;inset:0;background:#0f172a99;display:flex;justify-content:center;align-items:center;z-index:2000;padding:12px;overflow-y:auto}.product-detail-modal{background:var(--bg);border-radius:var(--radius);border:1px solid var(--border);max-width:860px;width:100%;height:90vh;max-height:90vh;overflow:hidden;position:relative;box-shadow:0 10px 30px #0f172a14;display:flex;flex-direction:column}.close-button{position:absolute;top:8px;right:8px;width:28px;height:28px;border:1px solid var(--border);background:var(--bg);border-radius:var(--radius-sm);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:10;transition:all .2s}.close-button:hover{background:var(--bg-muted);border-color:var(--brand)}.product-detail-content{display:grid;grid-template-columns:1fr 1fr;gap:0;height:100%;overflow:hidden;flex:1;min-height:0}.product-detail-image-section{position:relative;background:var(--bg-muted);height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:0}.product-detail-image{width:100%;height:100%;object-fit:cover;display:block}.product-detail-image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:3rem;color:var(--placeholder)}.product-detail-condition{position:absolute;top:10px;right:10px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;background:var(--bg);border:1px solid var(--border);z-index:5}.image-nav-button{position:absolute;top:50%;transform:translateY(-50%);background:var(--bg);border:1px solid var(--border);border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;z-index:10;color:var(--text);box-shadow:0 2px 8px #00000026}.image-nav-button:hover{background:var(--bg-muted);border-color:var(--brand);transform:translateY(-50%) scale(1.05);color:var(--brand)}.dark .image-nav-button{background:#111111f2;border-color:var(--border);color:var(--text);box-shadow:0 2px 8px #0006}.dark .image-nav-button:hover{background:#1e1e1ef2;border-color:var(--brand);color:var(--brand)}.image-nav-prev{left:8px}.image-nav-next{right:8px}.image-counter{position:absolute;bottom:50px;left:50%;transform:translate(-50%);background:#000000bf;color:#fff;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600;z-index:10}.image-thumbnails{position:absolute;bottom:8px;left:50%;transform:translate(-50%);display:flex;gap:4px;z-index:10;max-width:calc(100% - 16px);overflow-x:auto;padding:4px;background:#fffffffa;border-radius:var(--radius-sm);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 1px 4px #00000014}.image-thumbnails::-webkit-scrollbar{height:3px}.image-thumbnails::-webkit-scrollbar-thumb{background:var(--muted);border-radius:2px}.image-thumbnail{width:40px;height:40px;border:1.5px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;cursor:pointer;padding:0;background:var(--bg);transition:all .15s;flex-shrink:0}.image-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}.image-thumbnail:hover{border-color:var(--brand);transform:scale(1.05)}.image-thumbnail.active{border-color:var(--brand);border-width:2px}.product-detail-info{padding:16px 16px 0;display:flex;flex-direction:column;gap:12px;min-height:0;flex:1;overflow:hidden}.product-detail-info-content{overflow-y:auto;flex:1;min-height:0;padding-right:4px;padding-bottom:0;margin-bottom:0}.product-detail-header{display:flex;flex-direction:column;gap:6px}.product-detail-category{font-size:10px;font-weight:600;color:var(--muted-2);text-transform:uppercase;letter-spacing:.6px}.product-detail-header h2{font-size:1.25rem;font-weight:600;color:var(--text);margin:0;line-height:1.3}.product-detail-price{font-size:1.25rem;font-weight:700;color:var(--text);margin-top:2px}.product-detail-description h3,.product-detail-seller h3{font-size:.9rem;font-weight:600;color:var(--muted);margin:0 0 6px}.product-detail-seller{margin-bottom:0;padding-bottom:0}.product-detail-description p{color:var(--muted-2);line-height:1.6;font-size:.95rem;margin:0}.seller-info{display:flex;flex-direction:column;gap:8px}.seller-item{display:flex;gap:8px;padding:8px;background:var(--bg-muted);border-radius:var(--radius-sm)}.seller-label{font-weight:600;color:var(--muted-2);min-width:80px}.seller-item span:last-child{color:var(--text)}.product-detail-actions{margin-top:auto;padding:12px 16px 16px;border-top:1px solid var(--border);flex-shrink:0;background:var(--bg);z-index:10;position:sticky;bottom:0;box-shadow:0 -2px 8px #0000000d}.make-offer-button{width:100%;padding:12px 16px;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 2px 4px #0000001a}.make-offer-button:hover{background:var(--brand);border-color:var(--brand);transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.make-offer-button:active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}.dark .make-offer-button{background:#fff!important;color:#000!important;border-color:#fff!important;border-width:2px;box-shadow:0 2px 8px #00000080,0 0 0 1px #ffffff1a}.dark .make-offer-button:hover{background:#f0f0f0!important;border-color:#f0f0f0!important;color:#000!important;box-shadow:0 4px 12px #0009,0 0 0 1px #fff3}.dark .make-offer-button:active{background:#e5e5e5!important;color:#000!important}.dark .make-offer-button svg,.dark .make-offer-button svg *{color:#000!important;stroke:#000!important;fill:none}@media(max-width:768px){.product-detail-modal{height:90vh;max-height:90vh}.product-detail-content{grid-template-columns:1fr;grid-template-rows:300px 1fr}.product-detail-image-section{height:300px;min-height:300px}.product-detail-image,.product-detail-image-placeholder{height:300px}.product-detail-info{padding:12px 12px 0;overflow:hidden}.product-detail-info-content{padding-right:0}.product-detail-actions{padding:12px 12px 16px;background:var(--bg);margin-top:auto}.product-detail-header h2,.product-detail-price{font-size:1.1rem}}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;min-height:200px}.loading-small{padding:20px;min-height:100px}.loading-medium{padding:40px 20px;min-height:200px}.loading-large{padding:80px 20px;min-height:400px}.loading-spinner{position:relative;width:48px;height:48px;margin-bottom:16px}.spinner-ring{position:absolute;width:100%;height:100%;border:3px solid transparent;border-top-color:var(--brand);border-radius:50%;animation:spin 1.2s cubic-bezier(.5,0,.5,1) infinite}.spinner-ring:nth-child(1){animation-delay:-.45s;border-top-color:var(--brand);opacity:1}.spinner-ring:nth-child(2){animation-delay:-.3s;border-top-color:var(--muted);opacity:.7;width:80%;height:80%;top:10%;left:10%}.spinner-ring:nth-child(3){animation-delay:-.15s;border-top-color:var(--muted-2);opacity:.5;width:60%;height:60%;top:20%;left:20%}.loading-message{color:var(--muted-2);font-size:.9rem;margin:0;font-weight:500}.loading-compact{padding:20px;min-height:120px}.loading-compact .loading-spinner{width:32px;height:32px;margin-bottom:12px}.loading-compact .loading-message{font-size:.85rem}.products-container{width:100%;padding:0}.products-header{margin-bottom:16px;text-align:left}.products-header-title{display:flex;align-items:center;gap:10px;margin-bottom:4px}.products-header-title img{margin-bottom:16px;height:50px}.products-header-logo{height:32px;width:auto;object-fit:contain;filter:none;display:block;flex-shrink:0}.dark .products-header-logo,html.dark .products-header-logo,:root.dark .products-header-logo{filter:invert(1)!important}.products-header-title h2{font-size:1.25rem;font-weight:600;color:var(--text);margin:0;padding:0;line-height:1}.products-subtitle{color:var(--muted-2);font-size:.9rem;margin:0}.category-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;justify-content:flex-start}.category-button{padding:6px 10px;border:1px solid var(--border);background:var(--bg);border-radius:999px;font-size:.95rem;font-weight:500;color:var(--muted);cursor:pointer;transition:all .3s ease;white-space:nowrap;flex:0 0 auto}.category-button:hover{border-color:var(--brand);color:var(--text);background:var(--bg-muted)}.category-button.active{background:var(--bg);border-color:var(--brand);color:var(--text)}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin-top:12px}.product-card{background:var(--bg);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);transition:border-color .2s ease,transform .15s ease;display:flex;flex-direction:column;height:100%;position:relative}.product-card:hover{transform:translateY(-2px);border-color:var(--brand)}.product-image-container{position:relative;width:100%;height:180px;background:var(--bg-muted);overflow:hidden}.product-image{width:100%;height:100%;object-fit:cover;transition:transform .2s ease}.product-card:hover .product-image{transform:scale(1.02)}.product-image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--placeholder);background:var(--bg-muted)}.product-condition{position:absolute;top:8px;right:8px;padding:2px 8px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;background:var(--bg);border:1px solid var(--border);z-index:5}.product-card-nav{position:absolute;top:50%;transform:translateY(-50%);background:var(--bg);border:1px solid var(--border);border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;z-index:10;color:var(--text);opacity:.8;box-shadow:0 2px 6px #00000026;pointer-events:auto}.product-card:hover .product-card-nav{opacity:1}.product-card-nav:hover{background:var(--bg-muted);border-color:var(--brand);transform:translateY(-50%) scale(1.1);color:var(--brand)}.dark .product-card-nav{background:#111111f2;border-color:var(--border);color:var(--text);box-shadow:0 2px 6px #0006}.dark .product-card-nav:hover{background:#1e1e1ef2;border-color:var(--brand);color:var(--brand)}.product-card-nav-prev{left:8px}.product-card-nav-next{right:8px}.product-card-image-counter{position:absolute;bottom:8px;left:50%;transform:translate(-50%);background:#000000b3;color:#fff;padding:4px 8px;border-radius:12px;font-size:10px;font-weight:600;z-index:10}.badge-new{color:#0f766e}.badge-like-new{color:#0369a1}.badge-good{color:#b45309}.badge-fair{color:#b91c1c}.badge-poor{color:#475569}.product-info{padding:12px;flex:1;display:flex;flex-direction:column}.product-category{font-size:10px;font-weight:600;color:var(--muted-2);text-transform:uppercase;letter-spacing:.6px;margin-bottom:6px}.product-title{font-size:1rem;font-weight:900;color:var(--text);margin:0 0 6px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-description{margin-bottom:10px!important;font-size:.75rem;color:var(--muted-2);line-height:1.4;margin:0;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-meta{display:flex;flex-direction:row;align-items:center;gap:8px;margin-bottom:10px;margin-top:6px;padding-top:6px;border-top:1px solid var(--border);flex-wrap:wrap}.meta-separator{color:var(--muted-2);font-size:.85rem}.product-seller,.product-location{display:flex;align-items:center;gap:4px;font-size:.8rem;color:var(--muted-2)}.seller-icon,.location-icon{font-size:.9rem}.product-footer{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:10px;border-top:1px solid var(--border)}.product-price{font-size:1.1rem;font-weight:700;color:var(--text)}.product-date{font-size:.75rem;color:var(--placeholder)}.products-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;min-height:240px}.loading-spinner{width:50px;height:50px;border:4px solid var(--border);border-top:4px solid var(--brand);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:20px}.products-loading p{color:var(--muted-2);font-size:.95rem}.products-error{text-align:center;padding:40px 20px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center}.products-error p{color:#b91c1c;font-size:.95rem;margin-bottom:20px}.retry-button{padding:8px 12px;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.no-products{text-align:center;padding:40px 20px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center}.no-products-icon{font-size:3rem;margin-bottom:20px;opacity:.5}.no-products h3{font-size:1.1rem;color:var(--text);margin:0 0 12px}.no-products p{color:var(--muted-2);font-size:.95rem;max-width:500px}@media(max-width:768px){.products-header h2{font-size:2rem}.products-grid{grid-template-columns:1fr;gap:20px}.category-filter{padding:8px 0;gap:8px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap}.category-filter::-webkit-scrollbar{display:none}.category-button{padding:8px 12px;font-size:.85rem}.product-image-container{height:200px}.product-description{display:none}}@media(max-width:480px){.products-header h2{font-size:1.75rem}.products-subtitle{font-size:.95rem}}.product-form-container{width:100%;padding:12px;display:flex;justify-content:center}.product-form-card{background:var(--bg);border-radius:var(--radius);padding:16px;width:100%;max-width:900px;border:1px solid var(--border)}.form-header{margin-bottom:12px;text-align:left}.form-header h2{font-size:1.25rem;font-weight:600;color:var(--text);margin:0 0 4px}.form-header p{color:var(--muted-2);font-size:.85rem;margin:0}.product-form{display:flex;flex-direction:column;gap:10px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.form-group{display:flex;flex-direction:column;gap:4px}.form-group.full-width{grid-column:1 / -1}.form-group input,.form-group select,.form-group textarea{padding:8px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;transition:all .2s;background:var(--bg);color:var(--text)}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--brand);color:var(--text);background:var(--bg)}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--placeholder);opacity:1}.form-group input:-webkit-autofill,.form-group input:-webkit-autofill:hover,.form-group input:-webkit-autofill:focus,.form-group input:-webkit-autofill:active{-webkit-text-fill-color:var(--text)!important;-webkit-box-shadow:0 0 0px 1000px var(--bg) inset!important;box-shadow:0 0 0 1000px var(--bg) inset!important}.form-group textarea{resize:vertical;min-height:60px;max-height:80px}.form-group select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23111111' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:32px}.dark .form-group select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E")}.image-upload-area{position:relative;margin-bottom:8px}.image-input{position:absolute;width:0;height:0;opacity:0;overflow:hidden;z-index:-1}.image-upload-label{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px 12px;border:1px dashed var(--border);border-radius:var(--radius-sm);background:var(--bg-muted);cursor:pointer;transition:all .2s ease;text-align:center}.image-upload-label:hover{border-color:var(--brand);background:var(--bg)}.upload-icon{display:flex;align-items:center;justify-content:center;margin-bottom:6px;color:var(--muted-2)}.upload-text{font-size:.85rem;font-weight:600;color:var(--text);margin-bottom:4px}.upload-hint{font-size:.75rem;color:var(--muted-2)}.image-preview-single{display:flex;margin-top:8px}.image-preview-single .image-preview-item{max-width:200px;width:100%}.image-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px;margin-top:8px}.image-preview-item{position:relative;width:100%;aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--border);background:var(--bg-muted)}.image-preview-item img{width:100%;height:100%;object-fit:cover}.remove-image-button{position:absolute;top:4px;right:4px;width:28px;height:28px;border:none;background:#000000b3;color:#fff;border-radius:50%;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;line-height:1}.remove-image-button:hover{background:#dc2626e6;transform:scale(1.1)}.error-message{background:#2a1a1a;color:#ff6b6b;padding:8px 10px;border-radius:var(--radius-sm);margin-bottom:10px;font-size:12px;border:1px solid #4a2a2a}.form-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px;padding-top:10px;border-top:1px solid var(--border)}.submit-button{padding:8px 16px;background:var(--brand);color:var(--bg);border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:120px}.cancel-button{padding:8px 16px;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:120px}.success-message{text-align:center;padding:40px 20px}.success-icon{font-size:3rem;margin-bottom:12px}.success-message h2{font-size:1.5rem;font-weight:600;color:var(--text);margin:0 0 8px}.success-message p{color:var(--muted-2);font-size:.95rem;margin:0}@media(max-width:768px){.product-form-container{padding:8px}.product-form-card{padding:12px}.form-header h2{font-size:1.1rem}.form-row{grid-template-columns:1fr;gap:8px}.form-actions{flex-direction:column}.submit-button,.cancel-button{width:100%}}.seller-requests-container{width:100%;padding:0}.requests-header{margin-bottom:16px;text-align:left}.requests-header h2{font-size:1.25rem;font-weight:600;color:var(--text);margin:0 0 4px}.requests-subtitle{color:var(--muted-2);font-size:.85rem;margin:0}.status-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;justify-content:flex-start;padding:0}.filter-button{padding:6px 12px;border:1px solid var(--border);background:var(--bg);border-radius:999px;font-size:.85rem;font-weight:500;color:var(--muted);cursor:pointer;transition:all .2s ease;white-space:nowrap}.filter-button:hover{border-color:var(--brand);color:var(--text);background:var(--bg-muted)}.filter-button.active{background:var(--brand);border-color:var(--brand);color:var(--bg)}.requests-list{display:flex;flex-direction:column;gap:12px}.request-card{background:var(--bg);border-radius:var(--radius);padding:12px;border:1px solid var(--border);transition:all .2s ease}.request-card:hover{border-color:var(--brand)}.request-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--border);gap:12px}.request-product-info{display:flex;gap:12px;flex:1;min-width:0}.request-product-image{width:60px;height:60px;flex-shrink:0;border-radius:var(--radius-sm);overflow:hidden;background:var(--bg-muted);border:1px solid var(--border)}.request-product-image img{width:100%;height:100%;object-fit:cover}.request-product-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--placeholder)}.request-product-details{flex:1;min-width:0}.request-product-details h3{font-size:1rem;font-weight:600;color:var(--text);margin:0 0 4px;line-height:1.3}.product-price{font-size:.85rem;color:var(--muted-2);font-weight:500}.request-status{padding:4px 10px;border-radius:999px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.4px;background:var(--bg-muted);border:1px solid var(--border);color:var(--muted-2);flex-shrink:0}.status-pending{background:var(--bg-muted);color:var(--muted-2);border-color:var(--border)}.status-contacted{background:var(--bg-muted);color:var(--text);border-color:var(--brand)}.status-accepted{background:var(--bg);color:var(--text);border-color:var(--brand)}.status-declined{background:var(--bg-muted);color:var(--muted-2);border-color:var(--border)}.request-buyer-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-bottom:12px}.info-row{display:flex;flex-direction:column;gap:2px}.info-label{font-size:11px;font-weight:600;color:var(--muted-2);text-transform:uppercase;letter-spacing:.4px}.info-value{font-size:.9rem;color:var(--text);font-weight:500}.phone-number{font-size:.95rem;color:var(--text);font-weight:600}.offer-price{font-size:1.1rem;color:var(--text);font-weight:700}.request-message{background:var(--bg-muted);padding:10px;border-radius:var(--radius-sm);margin-bottom:12px;border-left:2px solid var(--border)}.request-message h4{font-size:11px;font-weight:600;color:var(--muted-2);margin:0 0 6px;text-transform:uppercase;letter-spacing:.4px}.request-message p{color:var(--text);line-height:1.5;margin:0;white-space:pre-wrap;font-size:.9rem}.request-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--border)}.action-button{padding:6px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:var(--bg);color:var(--text)}.contact-button:hover{background:var(--bg-muted);border-color:var(--brand)}.accept-button{background:var(--brand);color:var(--bg);border-color:var(--brand)}.accept-button:hover{background:var(--brand-600);border-color:var(--brand-600)}.decline-button:hover{background:var(--bg-muted);border-color:var(--border)}.requests-loading,.requests-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;min-height:300px}.loading-spinner{width:40px;height:40px;border:3px solid var(--border);border-top:3px solid var(--brand);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.requests-loading p,.requests-error p{color:var(--muted-2);font-size:.9rem;margin-bottom:16px}.retry-button{padding:8px 16px;background:var(--brand);color:var(--bg);border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease}.retry-button:hover{background:var(--brand-600);border-color:var(--brand-600)}.no-requests{text-align:center;padding:40px 20px;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.no-requests-icon{margin-bottom:16px;opacity:.5;color:var(--placeholder)}.no-requests h3{font-size:1.1rem;color:var(--text);margin:0 0 8px}.no-requests p{color:var(--muted-2);font-size:.9rem;max-width:500px}@media(max-width:768px){.requests-header h2{font-size:1.1rem}.status-filter{gap:6px}.filter-button{padding:6px 10px;font-size:.8rem}.request-header{flex-direction:column;gap:8px}.request-product-image{width:50px;height:50px}.request-buyer-info{grid-template-columns:1fr;gap:8px}.request-actions{flex-direction:column}.action-button{width:100%}}.buyer-inquiry-page{width:100%;max-width:600px;margin:0 auto;padding:0;background:var(--bg)}.buyer-inquiry-header{text-align:left;margin-bottom:20px;flex-shrink:0}.buyer-inquiry-header h2{font-size:1.5rem;font-weight:600;color:var(--text);margin:0 0 8px}.product-title{font-size:1rem;color:var(--muted-2);margin:0 0 4px;font-weight:500}.product-price{font-size:1.25rem;font-weight:700;color:var(--text);margin:0}.inquiry-form{display:flex;flex-direction:column;gap:16px}.form-group{display:flex;flex-direction:column;gap:6px;flex-shrink:0}.form-group label{font-weight:600;color:var(--text);font-size:12px}.form-group input,.form-group textarea{padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-family:inherit;transition:all .2s;background:var(--bg);color:var(--text)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--brand)}.form-group textarea{resize:vertical;min-height:80px;max-height:120px}.form-group small{color:var(--muted-2);font-size:11px;margin-top:-2px}.price-options{display:flex;flex-direction:column;gap:8px;margin-bottom:8px}.radio-option{display:flex;align-items:center;padding:12px;border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer;transition:all .2s;background:var(--bg)}.radio-option:hover{border-color:var(--brand);background:var(--bg-muted)}.radio-option input[type=radio]{margin-right:10px;width:18px;height:18px;cursor:pointer}.radio-label{display:flex;flex-direction:column;gap:2px;flex:1}.radio-label strong{color:var(--text);font-size:14px}.price-amount{color:var(--brand);font-weight:600;font-size:1rem}.price-hint{color:var(--muted-2);font-size:12px}.negotiated-price-input{margin-top:8px}.error-message{background:var(--bg-muted);color:#b91c1c;padding:10px 12px;border-radius:var(--radius-sm);margin-bottom:16px;font-size:13px;border:1px solid var(--border);flex-shrink:0}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:auto;padding-top:16px;border-top:1px solid var(--border);flex-shrink:0}.submit-button{padding:10px 20px;background:var(--brand);color:var(--bg);border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;flex:1}.submit-button:hover:not(:disabled){background:var(--brand-600);border-color:var(--brand-600)}.submit-button:disabled{opacity:.6;cursor:not-allowed}.cancel-button{padding:10px 20px;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;flex:1}.cancel-button:hover:not(:disabled){background:var(--bg-muted);border-color:var(--brand)}.cancel-button:disabled{opacity:.6;cursor:not-allowed}.buyer-inquiry-page.success{text-align:center;justify-content:center;align-items:center;padding:40px 20px}.success-icon{font-size:4rem;margin-bottom:16px}.buyer-inquiry-page.success h2{font-size:1.5rem;font-weight:600;color:var(--text);margin:0 0 12px}.buyer-inquiry-page.success p{color:var(--muted-2);font-size:1rem;margin:0 0 24px}.close-success-button{padding:10px 24px;background:var(--brand);color:var(--bg);border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.close-success-button:hover{background:var(--brand-600);border-color:var(--brand-600)}@media(max-width:640px){.buyer-inquiry-page{padding:0}.buyer-inquiry-header h2{font-size:1.25rem}.form-actions{flex-direction:column}.submit-button,.cancel-button{width:100%}.form-group textarea{min-height:60px;max-height:80px}}.auth-container{display:flex;justify-content:center;align-items:center;min-height:100vh;max-height:100vh;padding:20px;background:var(--bg);overflow:hidden}.auth-card{background:var(--bg);border-radius:var(--radius);padding:40px;width:100%;max-width:400px;max-height:calc(100vh - 40px);border:1px solid var(--border);overflow-y:auto;overflow-x:hidden}.auth-card h2{margin:0 0 8px;color:var(--text);font-size:28px;font-weight:700}.auth-subtitle{color:var(--muted-2);margin:0 0 24px;font-size:14px}.auth-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-weight:600;color:var(--text);font-size:14px}.form-group input{padding:12px;background:var(--bg);border:1px solid var(--border);border-radius:8px;font-size:16px;color:var(--text);transition:border-color .2s}.form-group input::placeholder{color:var(--muted-2)}.form-group input:focus{outline:none;border-color:var(--brand)}.form-group small{color:var(--muted-2);font-size:12px;margin-top:-4px}.auth-button{padding:10px 12px;background:var(--brand);color:var(--bg);border:1px solid var(--brand);border-radius:var(--radius-sm);font-size:15px;font-weight:600;cursor:pointer;transition:background-color .2s,border-color .2s;margin-top:8px}.auth-button:hover:not(:disabled){background:var(--brand-600);border-color:var(--brand-600)}.auth-button:disabled{opacity:.6;cursor:not-allowed}.auth-switch{text-align:center;margin-top:24px;color:var(--muted-2);font-size:14px}.link-button{background:none;border:none;color:var(--muted);cursor:pointer;font-weight:600;text-decoration:underline;padding:0;font-size:14px}.link-button:hover{color:var(--text)}.error-message{background:var(--bg-muted);color:#b91c1c;padding:12px;border-radius:8px;margin-bottom:20px;font-size:14px;border:1px solid var(--border)}.back-button{width:100%;margin-top:16px;padding:10px;background:var(--bg);color:var(--muted);border:1px solid var(--border);border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.back-button:hover{background:var(--bg-muted);border-color:var(--brand);color:var(--text)}@media(max-width:640px){.auth-container{padding:12px;max-height:100vh;overflow:hidden}.auth-card{max-width:100%;width:100%;padding:20px;border-radius:12px;max-height:calc(100vh - 24px);overflow-y:auto;overflow-x:hidden}.auth-card h2{font-size:22px}.auth-subtitle{font-size:13px}.form-group input{font-size:15px;padding:10px 12px}.auth-button,.back-button{font-size:14px;padding:10px 12px}}@media(max-width:380px){.auth-card{padding:16px;border-radius:10px;max-height:calc(100vh - 24px)}.auth-card h2{font-size:20px}.auth-form{gap:16px}.form-group input,.auth-button,.back-button{padding:10px;font-size:14px}}.app{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;padding:24px 16px;background:var(--bg)}.container{max-width:1200px;margin:0 auto}.container h2{color:var(--text);margin-bottom:16px}.container p{color:var(--muted-2);margin-bottom:32px}.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-top:32px}.feature-card{background:var(--bg);padding:16px;border-radius:var(--radius);border:1px solid var(--border);transition:border-color .2s}.feature-card:hover{border-color:var(--brand)}.feature-card h3{color:var(--text);margin:0 0 8px;font-size:20px}.feature-card p{color:var(--muted-2);margin:0;font-size:14px}.welcome-banner{background:var(--bg);color:var(--text);padding:20px;border-radius:var(--radius);margin-bottom:16px;text-align:left;border:1px solid var(--border)}.welcome-banner h2{color:var(--text);margin:0 0 8px;font-size:1.25rem;font-weight:600}.welcome-banner p{color:var(--muted-2);margin:0;font-size:.95rem;line-height:1.5}.welcome-banner .link-button{color:var(--text);text-decoration:underline;font-weight:600;cursor:pointer;background:none;border:none;padding:0;font-size:inherit}.welcome-banner .link-button:hover{color:var(--brand);text-decoration:none}
