/* 导航直达页面的左栏、按钮及全站共享页脚。 */
:root {
  --shared-teal: #4d8c91;
  --shared-teal-hover: #366f74;
  --shared-line: #c7c7c7;
}

/* 左侧栏：保留各页面内容，只统一成首页视觉。 */
body .quick-search,
body .qr-code,
body .product-category {
  margin-bottom: 12px;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body .quick-search__title,
body .qr-code__title,
body .product-category__title {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  background: var(--shared-teal) !important;
}

body .quick-search__title h4,
body .qr-code__title h4,
body .product-category__title h4 {
  margin: 0;
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

body .quick-search__content {
  padding: 23px 20px 24px;
  border: 1px solid var(--shared-line);
  border-top: 0;
  background: #fff;
}

body .quick-search__content__label p {
  margin: 0 0 12px;
  color: #333;
  font-size: 13px;
}

body .quick-search__content__input {
  display: flex;
  align-items: stretch;
  height: 39px;
}

body .quick-search__content__input .input-wrapper {
  flex: 1;
  min-width: 0;
}

body .quick-search__content__input input {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid #aaa;
  border-radius: 0;
  font: inherit;
}

body .quick-search__content__input > a {
  display: grid;
  place-items: center;
  width: 97px;
  min-width: 97px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff !important;
  background: var(--shared-teal) !important;
  font-size: 14px;
  text-decoration: none !important;
}

body .qr-code__content {
  min-height: 175px;
  padding: 15px 12px;
  background: #fff;
}

body .qr-code__content img {
  display: block;
  width: 145px;
  height: 145px;
  margin: 0;
  object-fit: cover;
}

body .product-category__content {
  border: 1px solid var(--shared-line);
  border-top: 0;
  background: #fff;
}

body .product-category__content .category-list__item {
  border-color: var(--shared-line);
}

body .product-category__content .category-list__item a {
  color: var(--shared-teal);
}

/* 页面按钮：与首页“了解更多”一致。 */
body .main-content a.btn,
body .main-content button.btn,
body .main-content input.btn {
  display: inline-block;
  padding: 10px 29px;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  background: var(--shared-teal) !important;
  box-shadow: none !important;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s ease;
}

body .main-content a.btn:hover,
body .main-content button.btn:hover,
body .main-content input.btn:hover,
body .quick-search__content__input > a:hover {
  background: var(--shared-teal-hover) !important;
}

/* 共享页脚：独立命名，避免被旧页面样式覆盖。 */
.unified-footer,
.unified-footer * {
  box-sizing: border-box;
}

.unified-footer {
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: auto;
}

.unified-footer__shell {
  width: min(1140px, calc(100% - 36px));
  margin-inline: auto;
}

.unified-footer__main {
  padding: 65px 0 58px;
  background: linear-gradient(#4c8c91, #1e3853);
}

.unified-footer__brand {
  margin-bottom: 70px;
  text-align: center;
}

.unified-footer__brand img {
  display: block;
  width: 620px;
  max-width: 75vw;
  height: auto;
  max-height: 120px;
  margin: 0 auto;
  object-fit: contain;
}

.unified-footer__columns {
  display: grid;
  grid-template-columns: 2.1fr .8fr 1.15fr 1.45fr;
  gap: 55px;
  align-items: start;
}

.unified-footer h2 {
  margin: 0 0 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.unified-footer p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 2;
}

.unified-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unified-footer__nav a,
.unified-footer__bottom a {
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.unified-footer__nav a::before {
  content: "›";
  margin-right: 10px;
  font-size: 18px;
}

.unified-footer__friend > div {
  display: flex;
  align-items: center;
  gap: 22px;
}

.unified-footer__friend img {
  width: 34px;
  height: auto;
}

.unified-footer__friend-name {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.unified-footer__friend p {
  font-weight: 700;
  line-height: 1.6;
}

.unified-footer__hotline > div {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px 24px;
  border: 1px solid rgba(255, 255, 255, .15);
}

.unified-footer__hotline b {
  display: grid;
  place-items: center;
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #3765c5;
  font-size: 20px;
}

.unified-footer__hotline p {
  line-height: 1.4;
}

.unified-footer__hotline strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
}

.unified-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 105px;
  padding: 28px max(36px, calc((100% - 1140px) / 2));
  background: #182c42;
  font-size: 12px;
}

.unified-footer__bottom span:nth-child(2) {
  text-align: center;
}

@media (max-width: 900px) {
  .unified-footer__columns {
    grid-template-columns: 1fr 1fr;
  }

  .unified-footer__brand {
    margin-bottom: 45px;
  }

  .unified-footer__bottom {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .unified-footer__main {
    padding-top: 45px;
  }

  .unified-footer__brand {
    margin-bottom: 40px;
  }

  .unified-footer__columns {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}
