/* Search */
.items-wrapper {
  position: relative;
  padding-top: 96px;
}

.fixed-search {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--card-color);
  border-radius: 0 0 20px 20px;
  padding: 15px 20px;
}

.search-box {
  width: 100%;
  height: 48px;
  background: var(--bg-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--secondary-text);
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  outline: none;
  padding: 0 10px;
}

.search-icon {
  width: 24px;
  height: 24px;
  background: url('./images/magnifier.png') no-repeat center;
  background-size: contain;
  margin-right: 10px;
}

/* Items Grid */
.items-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
  margin-bottom: 20px;
}

.item {
  background-color: var(--card-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s;
  cursor: pointer;
}

.item:hover {
  transform: translateY(-5px);
  background-color: #1B1B1B;
}

.item-image {
  width: 100%;
  height: 160px;
  background-color: #333;
  background-size: cover;
  background-position: center;
  position: relative;
}

.rating {
  display: flex;
  align-items: center;
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.star-icon {
  width: 16px;
  height: 16px;
  background: url('./images/stars.png') no-repeat center;
  background-size: contain;
  margin-right: 5px;
}

.heart-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: url('./images/heart-shape-outline.png') no-repeat center;
  background-size: contain;
  cursor: pointer;
  transition: transform 0.2s;
}

.heart-icon.favorite {
  background-image: url('./images/heart-simple-shape-silhouette.png');
}

.item-info {
  padding: 12px;
}

.price-container {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.current-price {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent-color);
  margin-right: 8px;
}

.old-price {
  position: relative;
  font-size: 14px;
  color: var(--secondary-text);
  margin-right: 8px;
}

.old-price::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--secondary-text);
}

.discount {
  font-weight: 700;
  font-size: 14px;
  color: var(--discount-color);
}

.item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

