/* 部品カテゴリ一覧（蓝湖 2-1 配件分类列表） */
.mall-category-page {
  padding: 28px 0 0;
}

.mall-cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #111;
  margin-bottom: 28px;
}

.mall-cat-breadcrumb a {
  color: #111;
  text-decoration: none;
}

.mall-cat-breadcrumb a:hover {
  color: var(--red);
}

.mall-cat-breadcrumb span {
  margin: 0;
}

.mall-cat-breadcrumb .iconfont {
  font-size: 17px;
  color: var(--red);
  line-height: 1;
  display: inline-block;
}

.mall-cat-head {
  margin-bottom: 40px;
  text-align: center;
}

.mall-cat-head h1 {
  font-size: 50px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 16px;
}

.mall-cat-head p {
  color: #111;
  font-size: 16px;
  line-height: 1.75;
  max-width: 920px;
  margin: 0 auto;
}

.mall-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mall-cat-card {
  background: #fff;
  border: 2px solid #eceded;
  border-radius: 10px;
  padding: 22px 16px 20px;
  display: flex;
  flex-direction: column;
  min-height: 365px;
  box-sizing: border-box;
}

.mall-cat-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 171px;
  margin-bottom: 20px;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.mall-cat-card-media img {
  max-width: 100%;
  max-height: 171px;
  object-fit: contain;
}

.mall-cat-card h3 {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 18px;
}

.mall-cat-card h3 a {
  color: inherit;
  text-decoration: none;
}

.mall-cat-card h3 a:hover {
  color: #ff4d47;
}

.mall-cat-card-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.mall-cat-card-price .label {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.mall-cat-card-price .amount {
  color: var(--red);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.mall-cat-card-price .tax {
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.mall-cat-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.mall-cat-card-actions a,
.mall-cat-card-actions button {
  flex: 1;
  height: 39px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.mall-cat-btn-detail {
  background: #fff;
  color: #111;
  border: 2px solid #FF413D;
}

.mall-cat-btn-cart {
  background: var(--red);
  color: #fff;
  border: 2px solid var(--red);
}

.mall-cat-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 48px 0 64px;
}

.mall-cat-pager a,
.mall-cat-pager button {
  min-width: 88px;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

.mall-cat-pager .prev {
  background: var(--red);
  color: #fff;
  border: 0;
}

.mall-cat-pager .next {
  background: #fff;
  color: #111;
  border: 2px solid #111;
}

.mall-cat-pager .disabled {
  pointer-events: none;
  opacity: 0.35;
}

.mall-cat-pager .status {
  font-size: 18px;
  font-weight: 700;
}

.mall-cat-pager .status b {
  color: var(--red);
}

.mall-category-page .bottom-btn {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .mall-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mall-cat-head h1 {
    font-size: 36px;
  }
}

@media (max-width: 720px) {
  .mall-cat-grid {
    grid-template-columns: 1fr;
  }

  .mall-cat-head h1 {
    font-size: 28px;
  }

  .mall-cat-card-actions {
    flex-direction: column;
  }
}