.layout { grid-template-columns: minmax(240px, 280px) minmax(0, 1fr); } .layout > div { min-width: 0; } .sidebar { min-width: 0; display: flex; flex-direction: column; max-height: calc(100vh - 118px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; } .filter-block input:not([type="checkbox"]):not([type="radio"]), .filter-block select { min-height: 52px; } .filter-block select + select { margin-top: 10px; } .filter-actions { display: grid; gap: 10px; } .filter-actions .btn { width: 100%; } .checks { gap: 12px; } .checks label { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; line-height: 1.25; } .checks input[type="checkbox"], .checks input[type="radio"] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; border-radius: 5px; flex: 0 0 18px; appearance: auto; -webkit-appearance: checkbox; } .toolbar { align-items: flex-start; } .ads-loading { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 8px 22px rgba(0,0,0,.04); color: var(--muted); font-weight: 800; margin-bottom: 18px; padding: 16px; } .ads-loading.hidden { display: none !important; } .ads-spinner { width: 20px; height: 20px; border: 3px solid #e2e8f0; border-top-color: var(--primary); border-radius: 50%; animation: ads-spin .75s linear infinite; } @keyframes ads-spin { to { transform: rotate(360deg); } } .toolbar select { flex: 0 0 220px; } .chip { cursor: pointer; font: inherit; line-height: 1.2; } .cards { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } .card, .card a, .card-body { min-width: 0; } .card h3, .location { overflow-wrap: anywhere; } .seller-link { color: inherit; font-weight: 800; text-decoration: none; } .seller-link:hover { color: var(--primary); } .card .meta { align-content: flex-start; min-height: 72px; } .card .tag { white-space: nowrap; } .card-actions { grid-template-columns: 1fr; } .card-actions.card-actions-admin { align-items: center; grid-template-columns: minmax(0, 1fr) auto; } .card.public-admin-menu-open { overflow: visible; position: relative; z-index: 40; } .public-admin-ad-menu { position: relative; } .public-admin-ad-menu .dashboard-ad-menu-toggle { align-items: center; border-radius: 14px; display: inline-flex; font-size: 16px; height: 52px; justify-content: center; min-height: 52px; padding: 0; width: 52px; } .public-admin-ad-menu .dashboard-ad-menu-toggle::after { content: ""; } .public-admin-ad-menu.is-open .dashboard-ad-menu-toggle { background: #101820; border-color: #101820; color: #fff; } .dashboard-ad-menu-list { background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16); display: none; min-width: 190px; overflow: hidden; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; } .public-admin-ad-menu.opens-up .dashboard-ad-menu-list { bottom: calc(100% + 8px); top: auto; } .public-admin-ad-menu.is-open .dashboard-ad-menu-list { display: grid; gap: 2px; } .dashboard-ad-menu-item { background: transparent; border: 0; border-radius: 10px; color: #26323f; cursor: pointer; display: block; font: inherit; font-size: 13px; font-weight: 800; padding: 10px 11px; text-align: left; text-decoration: none; width: 100%; } .dashboard-ad-menu-item:hover { background: #f1f5f9; } .dashboard-ad-menu-item.danger { color: #b91c1c; } .dashboard-ad-menu-item.danger:hover { background: #fef2f2; } .ad-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; } .thumb .ad-thumb-img { position: absolute; inset: 0; z-index: 0; } .thumb .badge, .thumb .fav { z-index: 2; } .thumb > a { display: block; inset: 0; position: absolute; z-index: 1; } .fav { border: 0; color: var(--dark); cursor: pointer; line-height: 1; } .fav:hover, .fav.is-favorite, .ad-favorite-action.is-favorite { color: var(--primary); } .ad-favorite-action { cursor: pointer; } .ad-favorite-action:disabled { opacity: .65; pointer-events: none; } .ad-favorite-detail.is-favorite { border-color: rgba(230, 57, 70, .28); background: #fff5f5; } .tag-rare { background: #fff7ed; border-color: #fed7aa; color: #c2410c; } .ads-empty { grid-column: 1 / -1; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; text-align: center; } .ads-empty strong { display: block; color: var(--dark); font-size: 20px; margin-bottom: 6px; } .ads-empty p { margin: 0; color: var(--muted); } .load-more-wrap { display: flex; justify-content: center; margin-top: 24px; } .hidden { display: none !important; } .seller-showcase { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; max-width: 100%; } .seller-showcase span { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.84); display: inline-flex; font-size: 15px; font-weight: 800; line-height: 1; padding: 10px 13px; } @media (max-width: 980px) { .sidebar { display: block; max-height: none; overflow: visible; } .toolbar { align-items: stretch; } .toolbar select { flex: 1 1 100%; max-width: none !important; } }