/* ===== 清颐好物 顶部导航 + 底部导航 公共样式（提取自 index.html） ===== */
/* ===== 顶部导航美化（重新注入） ===== */
body { padding-top: 130px !important; }
.header, .nav { display: none !important; }
.qy-toolbar {
  background: linear-gradient(180deg, #1c2430 0%, #232d3b 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: fixed; top: 0; left: 0; right: 0; z-index: 300; overflow: hidden;
}
.qy-toolbar::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22,199,154,.55), rgba(14,165,233,.55), transparent);
}
.qy-toolbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 15px; height: 36px;
  display: flex; align-items: center; justify-content: space-between;
}
.qy-toolbar .left, .qy-toolbar .right { display: flex; align-items: center; }
.qy-toolbar a {
  color: #aeb8c4; font-size: 12px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; padding: 0 11px; height: 36px;
  transition: color .2s, background .2s; position: relative;
}
.qy-toolbar a:hover { color: #fff; background: rgba(255,255,255,.06); }
.qy-toolbar a .ico { width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; opacity: .85; transition: opacity .2s; }
.qy-toolbar a:hover .ico { opacity: 1; }
.qy-toolbar .fav:hover { color: #ffc94d; }
.qy-toolbar .fav:hover .ico { color: #ffc94d; }
.qy-toolbar .sep { width: 1px; height: 14px; background: rgba(255,255,255,.12); margin: 0 2px; }
.qy-toolbar .login-btn {
  background: linear-gradient(135deg, #16c79a, #0ea5e9); color: #fff; font-weight: 600;
  height: 24px; border-radius: 12px; padding: 0 14px; letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(22,199,154,.28);
}
.qy-toolbar .login-btn:hover { background: linear-gradient(135deg, #14b48d, #0c93cf); color: #fff; }
.qy-toolbar .bell { position: relative; }
.qy-toolbar .bell .dot { display: none; position: absolute; top: 5px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: #f5222d; border: 2px solid #232d3b; }
.qy-toolbar .cart .num { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #f5222d; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; }
.qy-navbar {
  background: #fff; border-bottom: 1px solid #eef1f5; box-shadow: 0 2px 12px rgba(16,42,67,.06);
  position: fixed; top: 36px; left: 0; right: 0; z-index: 250;
}
.qy-navbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 15px; height: 62px;
  display: flex; align-items: center; gap: 10px;
}
.qy-navbar .logo { display: flex; align-items: center; gap: 10px; margin-right: 14px; flex-shrink: 0; }
.qy-navbar .logo img { height: 48px; width: auto; }
.qy-navbar .logo-sep { width: 1px; height: 28px; background: #e8edf1; margin-right: 6px; }
.qy-navbar nav { flex: 1; display: flex; align-items: center; }
.qy-navbar nav a {
  color: #4a5a56; font-size: 15px; font-weight: 500; letter-spacing: 1px; text-decoration: none;
  padding: 0 16px; height: 62px; display: inline-flex; align-items: center; position: relative;
  transition: color .2s, transform .2s; margin: 0 !important;
}
.qy-navbar nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  transform: translateX(-50%); border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #16c79a, #0ea5e9); transition: width .25s;
}
.qy-navbar nav a:hover { color: #16c79a; transform: translateY(-1px); }
.qy-navbar nav a:hover::after { width: 100%; }
.qy-navbar nav a.active { color: #16c79a; font-weight: 600; }
.qy-navbar nav a.active::after { width: 100%; }
.qy-navbar nav a.ext-link {
  font-weight: 700;
  background: linear-gradient(90deg, #16c79a, #0ea5e9, #f76707, #a855f7, #16c79a);
  background-size: 400% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: extFlow 2.5s linear infinite; transform: scale(1);
  transition: transform .25s ease, filter .25s ease;
  text-shadow: 0 0 10px rgba(22,199,154,.25);
}
@keyframes extFlow { 0% { background-position: 0% 50%; } 100% { background-position: 400% 50%; } }
.qy-navbar nav a.ext-link:hover { transform: scale(1.15); filter: brightness(1.15) drop-shadow(0 0 8px rgba(22,199,154,.5)); }
.qy-navbar nav a.ext-link::after { background: linear-gradient(90deg, #16c79a, #0ea5e9, #f76707, #a855f7, #16c79a); background-size: 400% 100%; animation: extFlow 2.5s linear infinite; }
.qy-search {
  display: flex; align-items: center; width: 180px; height: 36px;
  border: 1px solid #e3e9e6; border-radius: 18px; padding: 0 6px 0 14px;
  background: #f8faf9; transition: border-color .2s, box-shadow .2s; flex-shrink: 0;
}
.qy-search:focus-within { border-color: #16c79a; box-shadow: 0 0 0 3px rgba(22,199,154,.12); }
.qy-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 13px; color: #333; }
.qy-search button { width: 28px; height: 28px; border: none; border-radius: 50%; background: linear-gradient(135deg, #16c79a, #0ea5e9); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform .15s; }
.qy-search button:hover { transform: scale(1.06); }
@media (max-width: 900px) { .qy-search { display: none; } }
@media (max-width: 640px) {
  .qy-toolbar .inner { padding: 0 8px; }
  .qy-toolbar a { padding: 0 6px; font-size: 11px; }
  .qy-toolbar .sep { margin: 0 1px; }
  .qy-navbar .inner { padding: 0 8px; height: 56px; gap: 4px; }
  .qy-navbar .logo { margin-right: 4px; }
  .qy-navbar .logo img { height: 40px; }
  .qy-navbar nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .qy-navbar nav a { padding: 0 9px; font-size: 14px; height: 56px; white-space: nowrap; }
}

/* ===== 底部美化（重新注入） ===== */
.footer { display: none !important; }
.qy-new-footer { background: #fff; border-top: 3px solid #16c79a; box-shadow: 0 -4px 20px rgba(22,199,154,.08); margin-top: 60px; }
.qy-service-bar { background: #f7fcfb; border-bottom: 1px solid #eef4f2; padding: 22px 0; }
.qy-service-bar .inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.qy-service-item { display: flex; align-items: center; gap: 10px; }
.qy-service-item .icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #16c79a, #0ea5e9); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.qy-service-item .txt b { display: block; font-size: 15px; color: #2d3a38; font-weight: 600; line-height: 1.3; }
.qy-service-item .txt span { display: block; font-size: 12px; color: #8a9895; line-height: 1.3; }
.qy-footer-main { max-width: 1200px; margin: 0 auto; padding: 40px 15px 32px; display: flex; flex-wrap: wrap; gap: 32px; }
.qy-brand-col { flex: 1 1 260px; min-width: 240px; }
.qy-brand-col .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.qy-brand-col .logo img { height: 44px; width: auto; }
.qy-brand-col .slogan { font-size: 13px; color: #7b8a86; line-height: 1.8; margin-bottom: 18px; max-width: 300px; }
.qy-brand-col .contact-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; color: #4a5a56; }
.qy-brand-col .contact-row .c-icon { width: 32px; height: 32px; border-radius: 50%; background: #e6f9f3; color: #16c79a; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.qy-brand-col .contact-row b { color: #16c79a; font-size: 16px; letter-spacing: .5px; }
.qy-brand-col .contact-row.addr { align-items: flex-start; }
.qy-brand-col .contact-row.addr span { line-height: 1.6; font-size: 13px; }
.qy-nav-col { flex: 1 1 150px; min-width: 140px; }
.qy-nav-col h4 { font-size: 15px; font-weight: 600; color: #2d3a38; margin-bottom: 16px; position: relative; padding-bottom: 8px; }
.qy-nav-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: linear-gradient(90deg, #16c79a, #0ea5e9); border-radius: 2px; }
.qy-nav-col ul { list-style: none; margin: 0; padding: 0; }
.qy-nav-col li { margin-bottom: 10px; }
.qy-nav-col a { color: #6b7a76; font-size: 13px; text-decoration: none; transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.qy-nav-col a::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #cfdfda; transition: background .2s; }
.qy-nav-col a:hover { color: #16c79a; }
.qy-nav-col a:hover::before { background: #16c79a; }
.qy-qr-col { flex: 0 0 auto; min-width: 130px; text-align: center; }
.qy-qr-col h4 { font-size: 15px; font-weight: 600; color: #2d3a38; margin-bottom: 12px; text-align: left; position: relative; padding-bottom: 8px; }
.qy-qr-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 24px; height: 2px; background: linear-gradient(90deg, #16c79a, #0ea5e9); border-radius: 2px; }
.qy-qr-box { width: 104px; padding: 8px; border: 1px solid #e8efec; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(22,199,154,.10); }
.qy-qr-box .qy-qr { width: 86px; height: 86px; border-radius: 4px; margin: 0 auto; overflow: hidden; }
.qy-qr-box .qy-qr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qy-qr-box p { font-size: 12px; color: #7b8a86; margin-top: 6px; letter-spacing: 1px; }
.qy-copyright-bar { background: #282828; color: #9ba6a2; padding: 16px 0; }
.qy-copyright-bar .inner { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.8; }
.qy-copyright-bar a { color: #b8c4c0; text-decoration: none; }
.qy-copyright-bar a:hover { color: #16c79a; }
.qy-copyright-bar .c-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.qy-copyright-bar .c-links .dot { width: 3px; height: 3px; border-radius: 50%; background: #5a6763; }
.qy-copyright-bar .beian { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 640px) {
  .qy-service-bar .inner { justify-content: center; gap: 18px 30px; }
  .qy-footer-main { gap: 24px; }
  .qy-brand-col { flex: 1 1 100%; }
  .qy-nav-col { flex: 1 1 calc(50% - 24px); min-width: 0; }
  .qy-qr-col { flex: 1 1 100%; text-align: left; }
  .qy-qr-box { margin: 0; }
}
