input[type="search"] {
  -webkit-appearance: none;
  outline: none;
}

/* 搜索栏样式 */
.search-wrapper {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-form-wrapper {
  display: flex;
  justify-content: center;
}

.search-form {
  display: flex;
  gap: 10px;
  width: 60%; /* PC端默认宽度60% */
}

.search-form input[type="search"] {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 14px;
}

.search-form button.search-btn {
  padding: 10px 30px;
  background-color: #614CAA;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-form button.search-btn:hover {
  opacity: .85;;
}

/* 分类标签样式 */
.tabs-wrapper {
  margin-bottom: 30px;
}

.tabs-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.tabs-group .title {
  font-weight: 500;
  color: #666;
  font-size: 15px;
  min-width: 60px; /* 确保标题有足够宽度 */
}

.tabs-group .list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1; /* 让内容区域占满剩余空间 */
}
.tabs-group .list-inline li {
  white-space: nowrap;
}
.tabs-group .nav-link {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  transition: background-color 0.3s;
}
.tabs-group .nav-link:hover {
	color: #2278FF;
}
.tabs-group .selected{
	color: #2278FF;
    font-weight: bold;
}
.tabs-group .nav-link img {
  margin-left: 4px;
  vertical-align: middle;
}


/* ===== 卡片列表容器 ===== */
.card-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* PC 端：一行 4 个 */
  gap: 20px;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* ===== 单个卡片样式 ===== */
.card-store {
  position: relative;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%; /* 确保宽度占满网格 */
}

/* 悬停效果 */
.card-store:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 推荐标签（右上角角标） */
.card-store .ui-ring {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 100px;
  height: 100px;
  z-index: 10;
  overflow: hidden;
}

.card-store .ui-ring span {
  position: absolute;
  color: #fff;
  font-size: 12px;
  line-height: 24px;
  background: #FF6300;
  transform: rotate(45deg);
  text-align: center;
  right: -30px;
  width: 120px;
  top: 20px;
  font-weight: bold;
}

.card-store .ui-ring span::before,
.card-store .ui-ring span::after {
  content: "";
  position: absolute;
  top: 100%;
  width: 0;
  height: 0;
  border: 3px solid transparent;
  border-top-color: #d55b0e;
}

.card-store .ui-ring span::before {
  left: 0;
  border-left-color: #d55b0e;
}

.card-store .ui-ring span::after {
  right: 0;
  border-right-color: #d55b0e;
}

/* ===== 卡片图片（固定宽高比） ===== */
.card-image {
  position: relative;
  padding-top: 56.25%; /* 16:9 宽高比 */
  width: 100%;
  overflow: hidden;
}

.card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 图片填充不变形 */
}

/* ===== 卡片内容区域 ===== */
.card-content {
  padding: 12px;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.card-meta .downloads {
  display: flex;
  align-items: center;
  color: #666;
}

.card-meta .downloads img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.card-meta .price {
  color: #e83d2c;
  font-weight: bold;
}

/* ===== 移动端适配（H5） ===== */
@media (max-width: 768px) {
  .search-form {
    width: 100%;
  }
  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 移动端：一行 2 个 */
    gap: 12px;
  }

  /* 可选：调整移动端字体大小 */
  .card-title {
    font-size: 14px;
  }

  .card-meta {
    font-size: 12px;
  }
}

/*detail*/
.store_header {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
        }

        .store_left-side {
            width: 100%;
            max-width: 360px;
        }

        .store_right-side {
            flex: 1;
            min-width: 300px;
        }

        .store_image-wrapper {
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            padding: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            margin-bottom: 15px;
        }

        .store_image {
            width: 100%;
            height: auto;
            border-radius: 4px;
            display: block;
        }

        .store_info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 12px;
            margin-bottom: 20px;
        }

        .store_info-item {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }

        .store_button-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin: 25px 0;
        }

        .store_buy-button {
            background-color: #614CAA;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 12px 24px;
            text-decoration: none;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .store_buy-button:hover {
          color: #fff;
          opacity: 0.8;
        }

        .store_price {
            font-size: 1.2em;
            font-weight: bold;
            color: white;
        }

        .store_fav-button {
            background-color: white;
            color: #6c757d;
            border: 1px solid #6c757d;
            border-radius: 4px;
            padding: 12px 24px;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .store_faved {
            background-color: #6c757d;
            color: white;
        }
        .store_fav-button:hover {
            background-color: #6c757d;
            color: white;
        }

        .store_tab-container {
            display: flex;
            border-bottom: 1px solid #dee2e6;
            margin-bottom: 20px;
        }

        .store_tab-container .tab {
            padding: 12px 24px;
            cursor: pointer;
            font-weight: bold;
            border-bottom: 2px solid transparent;
            transition: border-color 0.3s;
        }

        .store_tab-container .tab:hover,.store_tab-container .tab.active {
            border-bottom-color: #007BFF;
            color: #007BFF;
        }

        .store_tab-content {
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 4px;
        }
        .store_tab-comment{
          display: none;
        }
        /* 响应式调整 */
        @media (max-width: 768px) {
            .store_header {
                flex-direction: column;
            }
            
            .store_left-side, .store_right-side {
                width: 100%;
                max-width: none;
            }
            
            .store_info-grid {
                grid-template-columns: 1fr;
            }
        }