.lk-tp-wrapper {
  background: #f5f0e4;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.lk-tp-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.lk-tp-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}

.lk-tp-filter {
  border: 1px solid #d3c5a4;
  background: #fffaf0;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  cursor: pointer;
  transition: 0.15s;
}

.lk-tp-filter:hover {
  background: #f0e0c2;
}

.lk-tp-filter.lk-tp-filter-active {
  background: #d3c5a4;
  color: #ffffff;
  border-color: #d3c5a4;
}

.lk-tp-search {
  margin-left: auto;
}

.lk-tp-search-input {
  border-radius: 999px;
  border: 1px solid #ddd;
  padding: 4px 10px;
  font-size: 11px;
}

.lk-tp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.lk-tp-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  text-align: center;
  background: #ffffff;
  transition: 0.15s;
}

.lk-tp-item:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.lk-tp-item.selected {
  border: 2px solid #c8b58c;
  box-shadow: 0 0 0 2px rgba(200, 181, 140, 0.3);
}

.lk-tp-thumb img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}

.lk-tp-name {
  font-size: 12px;
  line-height: 1.3;
  min-height: 32px;
}

.lk-tp-footer {
  margin-top: 8px;
  font-size: 12px;
}

.lk-tp-footer .lk-tp-count {
  font-weight: 700;
}

@media (max-width: 575px) {
  .lk-tp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lk-tp-search {
    width: 100%;
    margin-left: 0;
  }

  .lk-tp-search-input {
    width: 100%;
  }
}

@media (max-width:575px){
  .lk-tp-filters{flex-wrap:wrap;}
  .lk-tp-search{width:100%;margin-left:0;}
  .lk-tp-search-input{width:100%;}
}
