/* 品牌列表页面样式 - 从 Brandquery.vue 转换 */
.image-grid-container {
  width: 80vw; max-width: var(--max-width-view); margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-gap: 10px;
  padding: 10px; background-color: #fff;
}
.image-item {
  width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.2); position: relative;
  display: flex; justify-content: center; align-items: center;
}
.image-item img { width: 100%; height: auto; object-fit: cover; }
.image-item .image-text {
  display: none; width: 100%; height: 100%; background-color: rgba(0,0,0,0.4);
  position: absolute; top: 0; color: #fff; justify-content: end; align-items: center;
  padding: 35px 0; cursor: pointer;
}
.image-item .image-text .image-text-more {
  position: absolute; bottom: 15%; display: flex; justify-content: space-between;
  padding: 5px 15px; width: 60%; border-radius: 20px;
  border: var(--primary-color) 1px solid; color: #fff !important; background-color: #fe9906;
}
.image-item:hover .image-text { display: flex; flex-direction: column; justify-content: end; }
@media (max-width: 768px) {
  .processing {
    width: 100%;
    padding: 18px 16px 28px;
  }
  .processing .title-deta {
    width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .processing .title-deta .brand-title {
    justify-content: center;
    margin: 0;
    line-height: 1.4;
  }
  .processing .title-deta .slogan {
    flex-basis: 100%;
    margin: 4px 0 0;
    text-align: center;
  }
  .processing .title-deta .search-wrap {
    width: 100%;
    margin: 0;
    gap: 8px;
  }
  .processing .title-deta .search-input {
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 14px;
  }
  .processing .title-deta .search-btn {
    width: 72px;
    height: 44px;
    flex: 0 0 72px;
    padding: 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
  }
  .processing .image-screen {
    width: 100%;
    margin: 0 auto 22px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
  }
  .processing .image-screen span {
    width: 100%;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #f7f8fa;
    font-size: 13px;
    line-height: 1;
  }
  .processing .image-screen span.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
  }
  .processing .image-grid-container {
    width: 100%;
    max-width: none;
    padding: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .processing .image-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .processing .image-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .processing .image-item .image-text {
    display: block !important;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
  }
  .processing .image-item .image-text .image-text-more {
    display: none;
  }
  .processing .declare {
    margin: 12px 0 0 !important;
    font-size: 11px;
    line-height: 1.5;
  }
  .paging {
    padding: 14px 12px 20px;
  }
}

@media (max-width: 360px) {
  .processing {
    padding-right: 12px;
    padding-left: 12px;
  }
  .processing .image-screen {
    gap: 6px;
  }
  .processing .image-screen span {
    height: 34px;
    font-size: 12px;
  }
  .processing .image-grid-container {
    gap: 8px;
  }
  .processing .image-item {
    padding: 8px;
  }
}
