.skeleton-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem;margin-top:2rem;display:grid}.skeleton-list{flex-direction:column;gap:1rem;margin-top:2rem;display:flex}.skeleton-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.skeleton-list-item{flex-direction:row;gap:1rem;padding:1rem;display:flex}.skeleton-list-item .skeleton-image{flex-shrink:0;width:120px;height:120px}.skeleton-image{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) 0 0/200% 100%;width:100%;height:200px}.skeleton-content{flex:1;padding:1rem}.skeleton-list-item .skeleton-content{flex-direction:column;gap:.5rem;padding:0;display:flex}.skeleton-title{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) 0 0/200% 100%;border-radius:4px;height:20px;margin-bottom:.75rem}.skeleton-text{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) 0 0/200% 100%;border-radius:4px;height:16px;margin-bottom:.5rem}.skeleton-price{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%) 0 0/200% 100%;border-radius:4px;width:100px;height:24px;margin-top:.5rem}.skeleton-shimmer{animation:2s infinite shimmer}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skeleton-shimmer{background:#f0f0f0;animation:none}}@media (max-width:768px){.skeleton-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:1rem}.skeleton-list-item{flex-direction:column}.skeleton-list-item .skeleton-image{width:100%;height:150px}.skeleton-image{height:150px}}
.empty-state{text-align:center;background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);border-radius:16px;flex-direction:column;justify-content:center;align-items:center;min-height:300px;margin:2rem 0;padding:4rem 2rem;display:flex}.empty-state-info{background:linear-gradient(135deg,#e0f2fe 0%,#bae6fd 100%)}.empty-state-error{background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%)}.empty-state-warning{background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%)}.empty-state-success{background:linear-gradient(135deg,#d1fae5 0%,#a7f3d0 100%)}.empty-state-icon{filter:drop-shadow(0 4px 6px #0000001a);margin-bottom:1.5rem;font-size:5rem;animation:3s ease-in-out infinite float}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.empty-state-title{color:#1e293b;text-shadow:0 2px 4px #0000000d;margin-bottom:.75rem;font-size:1.75rem;font-weight:700}.empty-state-message{color:#64748b;max-width:500px;margin-bottom:2rem;font-size:1.125rem;line-height:1.6}.empty-state-action{color:#fff;background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%);border-radius:10px;align-items:center;gap:.5rem;padding:.875rem 2rem;font-size:1.0625rem;font-weight:600;text-decoration:none;transition:all .3s;display:inline-flex;box-shadow:0 4px 12px #3b82f64d}.empty-state-action:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3b82f666}.empty-state-action:active{transform:translateY(0)}@media (max-width:768px){.empty-state{min-height:250px;margin:1rem 0;padding:3rem 1.5rem}.empty-state-icon{margin-bottom:1rem;font-size:4rem}.empty-state-title{font-size:1.5rem}.empty-state-message{margin-bottom:1.5rem;font-size:1rem}.empty-state-action{padding:.75rem 1.5rem;font-size:1rem}}@media (prefers-reduced-motion:reduce){.empty-state-icon{animation:none}.empty-state-action:hover{transform:none}}
:root{--color-primary:#0f3460;--color-primary-light:#3b82f6;--color-primary-dark:#1a1a2e;--color-accent:#ff6b35;--color-success:#10b981;--color-danger:#dc2626;--color-warning:#f59e0b;--text-primary:#0f172a;--text-secondary:#334155;--text-muted:#475569;--text-light:#64748b;--text-white:#fff;--bg-primary:#fff;--bg-secondary:#f8fafc;--bg-tertiary:#f1f5f9;--bg-dark:#0f3460;--bg-gradient:linear-gradient(135deg,#0f3460 0%,#1a1a2e 100%);--border-light:#e2e8f0;--border-medium:#cbd5e1;--border-dark:#94a3b8;--shadow-sm:0 2px 8px #0000000a;--shadow-md:0 4px 12px #00000014;--shadow-lg:0 8px 25px #0000001a;--shadow-xl:0 12px 30px #00000026;--shadow-primary:0 8px 25px #3b82f64d;--space-xs:.25rem;--space-sm:.5rem;--space-md:1rem;--space-lg:1.5rem;--space-xl:2rem;--space-2xl:2.5rem;--space-3xl:3rem;--radius-sm:.375rem;--radius-md:.5rem;--radius-lg:.75rem;--radius-xl:1rem;--radius-full:9999px;--transition-fast:.15s ease;--transition-base:.25s ease;--transition-slow:.35s ease;--screen-mobile:768px;--screen-tablet:1024px;--screen-desktop:1200px}.home-page,.home-page *{box-sizing:border-box}.home-page{background:var(--bg-secondary);min-height:100vh;color:var(--text-primary);contain:layout style paint;content-visibility:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;overflow-x:hidden}.home-page img{max-width:100%;height:auto;display:block}.home-page a{color:inherit;transition:color var(--transition-fast);text-decoration:none}.home-page button{cursor:pointer;touch-action:manipulation;background:0 0;border:none;font-family:inherit}.home-page input,.home-page textarea,.home-page select{font-family:inherit;font-size:inherit}.home-page .visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.home-page .focus-ring:focus-visible{outline:2px solid var(--color-primary-light);outline-offset:2px}@media (prefers-reduced-motion:reduce){.home-page *,.home-page :before,.home-page :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.home-page .hero-section{background:var(--bg-gradient);color:var(--text-white);padding:2.5rem 0 3rem;position:relative;overflow:hidden}.home-page .hero-container{max-width:var(--screen-desktop);padding:0 var(--space-lg);margin:0 auto}.home-page .hero-content{text-align:center;max-width:800px;margin:0 auto}.home-page .hero-title{margin-bottom:.75rem;font-size:2.5rem;font-weight:800;line-height:1.2}.home-page .hero-subtitle{opacity:.9;max-width:600px;margin-bottom:2rem;margin-left:auto;margin-right:auto;font-size:1.125rem;line-height:1.6}.home-page .search-wrapper{max-width:700px;margin:0 auto;position:relative}.home-page .search-container{background:var(--bg-primary);border-radius:var(--radius-full);box-shadow:var(--shadow-lg);border:2px solid var(--border-light);transition:all var(--transition-base);align-items:center;padding:.5rem;display:flex}.home-page .search-container:focus-within{border-color:var(--color-primary-light);box-shadow:0 4px 15px #3b82f626}.home-page .search-input-wrapper{flex:1;align-items:center;padding:0 1rem;display:flex}.home-page .search-icon{color:var(--text-secondary);margin-left:.5rem}.home-page .search-input{width:100%;color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;padding:.75rem;font-size:1rem}.home-page .search-input::placeholder{color:var(--text-light);opacity:1}.home-page .search-button{background:var(--color-primary-light);color:var(--text-white);cursor:pointer;white-space:nowrap;transition:all var(--transition-base);border:none;border-radius:40px;padding:.75rem 1.5rem;font-size:.9rem;font-weight:700}.home-page .search-button:hover{background:#2563eb}.home-page .suggestions-dropdown{background:var(--bg-primary);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);z-index:1000;border:1px solid var(--border-light);margin-top:.5rem;position:absolute;top:100%;left:0;right:0;overflow:hidden}.home-page .suggestion-item{text-align:right;background:var(--bg-primary);cursor:pointer;width:100%;transition:background var(--transition-fast);color:var(--text-secondary);border:none;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.9rem;display:flex}.home-page .suggestion-item:hover{background:var(--bg-tertiary)}.home-page .suggestion-icon{color:var(--color-primary-light);font-size:1rem}.home-page .suggestion-text{text-align:right;flex:1}.home-page .categories-container{background:var(--bg-primary);border-bottom:1px solid var(--border-light);z-index:40;box-shadow:var(--shadow-sm);padding:1rem 0;position:sticky;top:60px}.home-page .categories-scroll{scroll-behavior:smooth;gap:.75rem;padding:.5rem 0;display:flex;overflow-x:auto}.home-page .categories-scroll::-webkit-scrollbar{height:4px}.home-page .categories-scroll::-webkit-scrollbar-track{background:var(--bg-tertiary);border-radius:10px}.home-page .categories-scroll::-webkit-scrollbar-thumb{background:var(--border-medium);border-radius:10px}.home-page .category-button{border-radius:var(--radius-full);border:1px solid var(--border-light);background:var(--bg-primary);cursor:pointer;white-space:nowrap;transition:all var(--transition-base);color:var(--text-secondary);flex-shrink:0;align-items:center;gap:.5rem;padding:.75rem 1.25rem;font-size:.875rem;display:inline-flex}.home-page .category-button:hover{border-color:var(--color-primary-light);color:var(--color-primary-light);transform:translateY(-1px)}.home-page .category-button.active{background:var(--color-primary-light);color:var(--text-white);border-color:var(--color-primary-light);box-shadow:0 4px 12px #3b82f626}.home-page .category-button-icon{font-size:1.1rem}.home-page .toolbar{margin:var(--space-lg)0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.home-page .toolbar-left,.home-page .toolbar-right{align-items:center;gap:1rem;display:flex}.home-page .view-toggle{background:var(--bg-tertiary);border:1px solid var(--border-light);border-radius:10px;gap:.5rem;padding:.25rem;display:flex}.home-page .view-toggle-button{border-radius:var(--radius-md);cursor:pointer;color:var(--text-secondary);transition:all var(--transition-base);background:0 0;border:none;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;display:flex}.home-page .view-toggle-button:hover{color:var(--color-primary-light)}.home-page .view-toggle-button.active{background:var(--bg-primary);color:var(--color-primary-light);box-shadow:var(--shadow-sm);font-weight:700}.home-page .view-toggle-icon{font-size:1rem}.home-page .results-count{color:var(--text-secondary);font-size:.875rem;font-weight:700}.home-page .results-number{color:var(--text-primary);font-weight:800}.home-page .view-toggle-label{color:var(--text-secondary);font-weight:800}.home-page .grid-view{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;margin-bottom:2.5rem;display:grid}.home-page .grid-card{background:var(--bg-primary);border-radius:var(--radius-lg);border:1px solid var(--border-light);flex-direction:column;height:100%;transition:all .25s;display:flex;overflow:hidden}.home-page .grid-card:hover{box-shadow:var(--shadow-lg);border-color:var(--color-primary-light);will-change:transform;transform:translateY(-3px)}.home-page .card-link{color:inherit;height:100%;text-decoration:none;display:block}.home-page .image-container{background:var(--bg-secondary);contain:layout style paint;width:100%;height:160px;position:relative;overflow:hidden}.home-page .listing-img{object-fit:cover;will-change:transform;width:100%;height:100%;transition:transform .3s}.home-page .grid-card:hover .listing-img{transform:scale(1.05)}.home-page .img-fallback{background:var(--bg-tertiary);width:100%;height:100%;color:var(--text-light);justify-content:center;align-items:center;font-size:2rem;display:flex}.home-page .auction-badge{color:var(--text-white);border-radius:var(--radius-full);z-index:2;background:#3b82f6e6;padding:.25rem .75rem;font-size:.75rem;font-weight:700;position:absolute;top:.5rem;right:.5rem}.home-page .card-content{flex-direction:column;flex:1;padding:1.25rem;display:flex}.home-page .card-header{justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.5rem;display:flex}.home-page .listing-title{color:var(--text-primary);-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;min-height:2.8em;margin:0;font-size:1rem;font-weight:700;line-height:1.4;display:-webkit-box;overflow:hidden}.home-page .category-badge{background:var(--bg-tertiary);border:1px solid var(--border-light);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.home-page .category-icon{color:var(--text-secondary);font-size:1rem}.home-page .listing-location{color:var(--text-muted);align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;display:flex}.home-page .location-icon{color:var(--text-secondary);font-size:.9rem}.home-page .listing-description{color:var(--text-muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;flex:1;min-height:2.6em;margin-bottom:1rem;font-size:.875rem;line-height:1.5;display:-webkit-box;overflow:hidden}.home-page .price-section{margin-top:auto;margin-bottom:.75rem}.home-page .listing-footer{border-top:1px solid var(--border-light);color:var(--text-muted);justify-content:space-between;align-items:center;margin-top:.75rem;padding-top:.75rem;font-size:.75rem;display:flex}.home-page .list-view{flex-direction:column;gap:1rem;margin-bottom:2.5rem;display:flex}.home-page .list-card{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:var(--radius-lg);transition:all var(--transition-base);display:flex;overflow:hidden}.home-page .list-card:hover{border-color:var(--color-primary-light);box-shadow:0 8px 20px #0000000f}.home-page .list-image-container{background:var(--bg-secondary);flex-shrink:0;width:140px}.home-page .list-img{object-fit:cover;width:100%;height:140px;display:block}.home-page .list-img-fallback{background:var(--bg-tertiary);width:100%;height:140px;color:var(--text-light);justify-content:center;align-items:center;font-size:2rem;display:flex}.home-page .list-content{flex-direction:column;flex:1;padding:1.25rem;display:flex}.home-page .list-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:.75rem;display:flex}.home-page .list-title{color:var(--text-primary);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 .5rem;font-size:1.125rem;font-weight:700;line-height:1.4;display:-webkit-box;overflow:hidden}.home-page .list-category{background:var(--bg-tertiary);border-radius:var(--radius-full);color:var(--text-secondary);border:1px solid var(--border-light);align-items:center;gap:.5rem;padding:.375rem .75rem;font-size:.875rem;display:inline-flex}.home-page .list-location{color:var(--text-muted);align-items:center;gap:.5rem;margin-bottom:.75rem;font-size:.875rem;display:flex}.home-page .list-description{color:var(--text-muted);-webkit-line-clamp:3;-webkit-box-orient:vertical;flex:1;margin-bottom:1rem;font-size:.875rem;line-height:1.5;display:-webkit-box;overflow:hidden}.home-page .list-footer{color:var(--text-muted);flex-wrap:wrap;gap:1.5rem;font-size:.875rem;display:flex}.home-page .loading-container,.home-page .error-container,.home-page .empty-state,.home-page .loading-card{text-align:center;background:var(--bg-primary);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);margin:var(--space-lg)0;border:1px solid var(--border-light);flex-direction:column;justify-content:center;align-items:center;padding:3rem 2rem;display:flex}.home-page .loading-card{height:300px}.home-page .spinner{border:3px solid var(--bg-tertiary);border-top:3px solid var(--color-primary-light);will-change:transform;border-radius:50%;width:40px;height:40px;margin-bottom:1rem;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.home-page .retry-button,.home-page .add-listing-link{background:var(--color-primary-light);color:var(--text-white);border-radius:var(--radius-md);cursor:pointer;transition:all var(--transition-base);will-change:transform;border:none;padding:.75rem 1.5rem;font-size:.9rem;font-weight:700;text-decoration:none;display:inline-block}.home-page .retry-button:hover,.home-page .add-listing-link:hover{background:#2563eb;transform:translateY(-1px)}.home-page .floating-add-button{background:var(--color-primary-light);color:var(--text-white);border-radius:var(--radius-full);cursor:pointer;box-shadow:var(--shadow-primary);z-index:100;border:none;align-items:center;gap:.75rem;padding:1rem 1.75rem;font-size:.95rem;font-weight:800;text-decoration:none;transition:all .3s;display:flex;position:fixed;bottom:2rem;right:2rem}.home-page .floating-add-button:hover{background:#2563eb;transform:translateY(-3px);box-shadow:0 12px 30px #3b82f666}.home-page .floating-add-icon{font-size:1.1rem}@media (max-width:768px){.home-page .hero-title{font-size:2rem}.home-page .hero-subtitle{font-size:1rem}.home-page .grid-view{grid-template-columns:1fr;gap:1rem}.home-page .list-card{flex-direction:column}.home-page .list-image-container{width:100%}.home-page .list-img,.home-page .list-img-fallback{height:180px}.home-page .image-container,.home-page .img-fallback{height:200px}.home-page .floating-add-button{padding:.875rem 1.5rem;font-size:.875rem;bottom:1.5rem;right:1.5rem}.home-page .search-button{padding:.75rem 1.25rem;font-size:.875rem}.home-page .category-button{padding:.6rem 1rem;font-size:.8rem}.home-page .hero-section{padding:2rem 0 2.5rem}}@media (min-width:769px) and (max-width:1024px){.home-page .grid-view{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}.home-page .image-container,.home-page .img-fallback{height:180px}}@media (min-width:1025px){.home-page .grid-view{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media print{.home-page .floating-add-button,.home-page .search-container,.home-page .categories-container,.home-page .toolbar{display:none!important}.home-page{background:#fff!important}.home-page .hero-section{color:#000!important;background:#fff!important;padding:0!important}.home-page .grid-card,.home-page .list-card{break-inside:avoid;box-shadow:none!important;border:1px solid #000!important}.home-page .listing-img{filter:grayscale()}}.error-retry-wrapper{text-align:center;padding:2rem}.error-retry-button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);border:none;border-radius:8px;margin-top:1rem;padding:.75rem 2rem;font-size:1rem;font-weight:600;transition:all .3s;box-shadow:0 4px 12px #ef44444d}.error-retry-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #ef444466}.error-retry-button:active{transform:translateY(0)}.error-retry-button:focus-visible{outline-offset:2px;outline:2px solid #ef4444}@media (prefers-reduced-motion:reduce){.error-retry-button:hover{transform:none}}
