/* === index.html 独有样式追加（保持原有优先级和细节） === */
/* Reset & 基础 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
    color: #f3f6fa;
    min-height: 100vh;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
/* 导航栏 */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(20, 24, 31, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(0,234,255,0.08);
    height: 4rem; /* 或你想要的导航栏高度 */
    display: flex;
    align-items: center;
}

.navbar .logo img {
    height: 100%;
    max-height: 4rem; /* 保证图片不会超出导航栏 */
    width: auto;
    display: block;
    border-radius: 16px; /* 新增圆角 */
    box-shadow: 0 2px 12px #00eaff33;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 2rem; /* 或你喜欢的数值 */
    padding-right: 2rem;
    min-height: 4rem;
}

.navbar .logo {
    margin-right: 2rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navbar .nav-links li {
    margin-left: 1.5rem;
}
.logo {
    font-size: 32px; font-weight: 900; color: #00eaff;
    letter-spacing: 2px; text-shadow: 0 2px 16px #00eaff44;
    transition: color 0.2s;
}
.logo:hover { color: #fff; }
@media (min-width: 769px) {
    .nav-links { 
        display: flex; 
        gap: 48px; 
        list-style: none; 
    }
}
.nav-links a {
    font-size: 18px; font-weight: 600; color: #f3f6fa;
    padding: 6px 18px; border-radius: 8px; transition: background 0.2s, color 0.2s;
}
.nav-links a:hover {
    background: rgba(0,234,255,0.12); color: #00eaff;
}
/* Hero区 */
.hero {
    min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: linear-gradient(120deg, #232526 0%, #0f2027 100%);
    text-align: center; position: relative; overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 60% 40%, #00eaff33 0%, transparent 70%),
                radial-gradient(circle at 30% 80%, #ff00cc22 0%, transparent 70%);
    z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; max-width: 900px; padding: 0 24px;
    animation: fadeInUp 1.2s cubic-bezier(.23,1.01,.32,1);
}
.hero h1 {
    font-size: clamp(48px, 10vw, 96px); font-weight: 900; color: #00eaff;
    letter-spacing: 4px; margin-bottom: 24px; text-shadow: 0 4px 32px #00eaff33;
    animation: glow 2.5s infinite alternate;
}
.hero p {
    font-size: 26px; color: #f3f6fa; opacity: 0.92; margin-bottom: 36px;
    text-shadow: 0 2px 12px #0006;
}
.cta-button {
    display: inline-block; padding: 18px 56px; background: linear-gradient(90deg,#00eaff 0%,#ff00cc 100%);
    color: #fff; border: none; border-radius: 999px; font-weight: 700; font-size: 22px;
    box-shadow: 0 4px 32px #00eaff33; transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer; position: relative; overflow: hidden;
}
.cta-button:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 48px #ff00cc33;
}
@keyframes glow {
    0% { text-shadow: 0 4px 32px #00eaff33; }
    100% { text-shadow: 0 8px 48px #00eaff99; }
}
/* 作品区 */
.portfolio {
    padding: 140px 0 100px 0; background: transparent;
}
.portfolio-category-title {
    font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 18px; letter-spacing: 2px;
    display: flex; align-items: center; gap: 16px;
}
.category-tag {
    background: linear-gradient(90deg,#00eaff 0%,#ff00cc 100%);
    color: #fff; font-size: 15px; font-weight: 700; border-radius: 12px; padding: 2px 18px;
    box-shadow: 0 2px 12px #00eaff33;
}
.portfolio-card-list {
    display: flex; gap: 32px; flex-wrap: wrap;
}
.portfolio-card {
    background: rgba(30,34,44,0.72);
    border-radius: 24px;
    box-shadow: 0 8px 32px #00eaff22, 0 1.5px 0 #fff1 inset;
    border: 2.5px solid transparent;
    background-clip: padding-box;
    min-width: 240px; max-width: 400px; flex: 1 1 260px;
    padding: 32px 24px; margin-bottom: 32px; position: relative;
    transition: box-shadow 0.25s, border 0.25s, transform 0.25s;
    overflow: hidden;
}
.portfolio-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    border-radius: 24px;
    background: linear-gradient(120deg,#00eaff55 0%,#ff00cc33 100%);
    opacity: 0; transition: opacity 0.3s;
}
.portfolio-card:hover {
    box-shadow: 0 16px 48px #00eaff55, 0 1.5px 0 #fff2 inset;
    border: 2.5px solid #00eaff;
    transform: translateY(-8px) scale(1.04);
}
.portfolio-card:hover::before {
    opacity: 1;
}
.portfolio-card-title {
    font-size: 22px; font-weight: 700; color: #00eaff; margin-bottom: 12px;
    text-shadow: 0 2px 12px #00eaff33;
}
.portfolio-card-desc {
    font-size: 16px; color: #f3f6fa; opacity: 0.92;
}
/* 关于我区 */
.about {
    padding: 120px 0; background: transparent;
}
.about-content {
    display: flex; align-items: center; gap: 64px; max-width: 1000px; margin: 0 auto;
    background: rgba(30,34,44,0.68); border-radius: 32px; box-shadow: 0 8px 32px #00eaff22;
    padding: 48px 40px; position: relative;
}
.about-image {
    width: 180px; height: 180px; border-radius: 50%; overflow: hidden;
    box-shadow: 0 4px 32px #00eaff33, 0 1.5px 0 #fff1 inset;
    background: linear-gradient(135deg,#00eaff33 0%,#ff00cc22 100%);
    display: flex; align-items: center; justify-content: center;
}
.about-image img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.about-text h2 {
    font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 18px;
    letter-spacing: 2px; text-shadow: 0 2px 12px #00eaff33;
}
.about-text p {
    font-size: 20px; color: #f3f6fa; opacity: 0.92; margin-bottom: 18px;
}
/* 联系方式 */
.contact {
    padding: 100px 0 80px 0; background: transparent; text-align: center;
}
.contact h2 {
    font-size: 40px; font-weight: 800; color: #00eaff; margin-bottom: 24px;
}
.contact-logos {
    display: flex; justify-content: center; gap: 48px; margin-top: 32px;
}
.contact-logo-img {
    width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 2px 12px #00eaff33;
    background: #fff; transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    object-fit: cover; filter: grayscale(0.2) brightness(1.1);
}
.contact-logo-img:hover {
    transform: scale(1.18) rotate(-8deg);
    box-shadow: 0 8px 32px #ff00cc33;
    filter: grayscale(0) brightness(1.2) drop-shadow(0 0 8px #00eaff88);
}
/* 页脚 */
.site-footer {
    background: rgba(20,24,31,0.92); color: #b0b8c9;
    border-top: 1px solid #00eaff33; font-size: 15px; padding: 36px 0; text-align: center;
}
.footer-links a {
    color: #b0b8c9; font-size: 14px; padding: 6px 10px; border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.footer-links a:hover {
    color: #00eaff; background: #232526;
}
/* 动画 */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(.23,1.01,.32,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
/* 轮播图样式 */
.portfolio-swiper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 48px auto;
    overflow: hidden;
    background: rgba(30,34,44,0.68);
    border-radius: 24px;
    box-shadow: 0 8px 32px #00eaff22;
    padding: 32px 0;
}
.swiper-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.23,1.01,.32,1);
    will-change: transform;
}
.swiper-slide {
    min-width: 320px;
    max-width: 360px;
    margin: 0 24px;
    background: rgba(255,255,255,0.04);
    border-radius: 18px;
    box-shadow: 0 2px 12px #00eaff33;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.swiper-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 2px 12px #00eaff33;
}
.slide-desc {
    color: #fff;
    font-size: 18px;
    padding: 18px 12px 12px 12px;
    text-align: center;
}
.swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg,#00eaff 0%,#ff00cc 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 12px #00eaff33;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
}
.swiper-btn:hover { opacity: 1; background: #00eaff; }
.swiper-btn.prev { left: 12px; }
.swiper-btn.next { right: 12px; }
@media (max-width: 900px) {
    .about-content { flex-direction: column; gap: 32px; padding: 32px 12px; }
    .about-image { width: 120px; height: 120px; }
}
@media (max-width: 600px) {
    .nav-container { padding: 0 8px; }
    .hero h1 { font-size: 32px; }
    .portfolio-category-title { font-size: 20px; }
    .about-content { padding: 18px 2px; }
    .swiper-slide { min-width: 80vw; max-width: 90vw; margin: 0 6px; }
    .portfolio-swiper { padding: 18px 0; }
}
.gallery-container {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 48px auto;
    background: rgba(30,34,44,0.68);
    border-radius: 24px;
    box-shadow: 0 8px 32px #00eaff22;
    padding: 32px 0;
    position: relative;
}
.gallery-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/7;
    border-radius: 18px;
}
.gallery-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.23,1.01,.32,1);
    will-change: transform;
    height: 100%;
}
.gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 12px #00eaff33;
}
.gallery-btn {
    position: absolute;
    right: 12px;
    width: 44px;
    height: 44px;
    background: linear-gradient(90deg,#00eaff 0%,#ff00cc 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 2px 12px #00eaff33;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-btn.prev { top: 16px; }
.gallery-btn.next { bottom: 16px; }
.gallery-btn:hover { opacity: 1; background: #00eaff; }
.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border 0.2s;
    width: 100px;
    height: 56px;
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb.active, .thumb:hover {
    border: 2px solid #00eaff;
}
.gallery-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 18px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b0b8c9;
    opacity: 0.5;
    transition: background 0.2s, opacity 0.2s;
}
.dot.active {
    background: #00eaff;
    opacity: 1;
}
@media (max-width: 900px) {
    .gallery-container {
        grid-template-columns: 1fr;
        padding: 18px 0;
    }
    .gallery-thumbs {
        flex-direction: row;
        gap: 8px;
        margin: 12px 0 0 0;
        height: auto;
        justify-content: center;
    }
    .thumb { width: 60px; height: 36px; }
    .gallery-btn { top: unset; bottom: 12px; right: 50%; transform: translateX(50%); }
}
.hero-contact {
  width: 100%;
  margin: 0 auto;
  margin-top: -48px;
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.hero-contact-inner {
  background: rgba(30,34,44,0.72);
  border-radius: 24px;
  box-shadow: 0 4px 24px #00eaff22;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 320px;
  max-width: 520px;
}
.hero-contact-title {
  font-size: 28px;
  font-weight: 800;
  color: #00eaff;
  letter-spacing: 2px;
  margin-bottom: 18px;
  text-shadow: 0 2px 12px #00eaff33;
}
.hero-contact-logos {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.hero-contact-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: none;
  object-fit: cover;
  border: 2.5px solid #00eaff;
  transition: transform 0.6s cubic-bezier(.23,1.01,.32,1), filter 0.2s, border 0.2s;
  filter: drop-shadow(0 0 16px #00eaff99) grayscale(0.1) brightness(1.08);
}
.hero-contact-logo-img:hover {
  transform: rotate(360deg);
}
.hero-contact-logos-glass {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin: 32px auto 0 auto;
  padding: 18px 36px;
  border-radius: 32px;
  background: rgba(30,34,44,0.38);
  box-shadow: 0 4px 32px #00eaff33;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(0,234,255,0.18);
  max-width: 340px;
}
.hero-contact-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px #00eaff33;
  object-fit: cover;
  border: 2.5px solid #00eaff;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, border 0.2s;
  filter: grayscale(0.1) brightness(1.08) drop-shadow(0 0 8px #00eaff55);
}
.hero-contact-logo-img:hover {
  border: 2.5px solid #00eaff;
  box-shadow: 0 8px 32px #00eaff99, 0 0 0 4px #00eaff33;
  filter: grayscale(0) brightness(1.18) drop-shadow(0 0 16px #00eaff);
  background: linear-gradient(90deg,#00eaff 0%,#00eaff 100%);
}
@media (max-width: 600px) {
  .hero-contact-logos { gap: 18px; }
  .hero-contact-logo-img { width: 40px; height: 40px; }
  .hero-contact-logos-glass { gap: 18px; padding: 10px 8px; max-width: 98vw; }
  .hero-contact-logo-img { width: 40px; height: 40px; }
}

/* 页脚新风格 */
.site-footer {
  background: rgba(20,24,31,0.85);
  border-top: 1.5px solid #00eaff44;
  box-shadow: 0 -2px 16px #00eaff11;
  color: #b0b8c9;
  font-size: 15px;
  padding: 36px 0 24px 0;
  text-align: center;
  letter-spacing: 0.02em;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-info p {
  color: #00eaff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1.2px;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.footer-links a {
  color: #b0b8c9;
  text-decoration: none;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 6px 14px;
  border: 1.5px solid transparent;
  transition: color 0.2s, background 0.2s, border 0.2s;
}
.footer-links a:hover {
  color: #00eaff;
  background: rgba(0,234,255,0.08);
  border: 1.5px solid #00eaff;
}
.footer-links img {
  width: 18px;
  height: 18px;
}
@media (max-width: 600px) {
  .footer-links { gap: 12px; flex-direction: column; }
  .site-footer { font-size: 13px; padding: 24px 0 12px 0; }
}
.hero-contact-logo-svg {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: block;
  border: 2.5px solid #00eaff;
  box-sizing: border-box;
  filter: drop-shadow(0 0 16px #00eaff99) grayscale(0.1) brightness(1.08);
  transition: transform 0.6s cubic-bezier(.23,1.01,.32,1), filter 0.2s, border 0.2s;
  background: none;
}
.hero-contact-logo-svg:hover {
  transform: rotate(360deg);
}
@media (max-width: 600px) {
  .hero-contact-logo-svg { width: 40px; height: 40px; }
}
.wechat-popover {
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%);
  background: rgba(30,34,44,0.92);
  border-radius: 16px;
  box-shadow: 0 8px 32px #00eaff33;
  padding: 18px 18px 10px 18px;
  z-index: 100;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* animation: fadeInUp 0.3s;  // 已移除，避免弹窗跳动 */
}
.wechat-qr-img-pop {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 8px;
  box-shadow: 0 2px 12px #00eaff33;
}
.wechat-popover-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.wechat-popover-close:hover { opacity: 1; }
.wechat-popover-tip {
  color: #fff;
  font-size: 15px;
  margin-top: 6px;
  opacity: 0.85;
}

/* === 服务卡片区（我的杂货铺）样式 === */
.store-container {
    max-width: 900px;
    margin: 80px auto 40px auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.store-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    color: #00eaff;
    letter-spacing: 2px;
    text-shadow: 0 2px 16px #00eaff44;
}
.store-desc {
    text-align: center;
    color: #b0b8c9;
    margin-bottom: 40px;
    font-size: 18px;
}
.store-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start !important;
    align-items: stretch;
}

.store-card-no {
    position: absolute;
    right: 16px;
    top: 12px;
    background: #232526;
    color: #00eaff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    padding: 2px 12px 2px 8px;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 8px #00eaff22;
    display: flex;
    align-items: center;
    gap: 2px;
}
.store-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #00eaff;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px #00eaff33;
}
.store-card-desc {
    font-size: 15px;
    color: #b2eaff;
    line-height: 1.6;
    margin-bottom: 18px;
}
.store-card-price {
    font-size: 17px;
    font-weight: 700;
    color: #ff4d4f;
    position: absolute;
    right: 20px;
    bottom: 18px;
    text-shadow: 0 2px 8px #ff4d4f33;
}
@media (max-width: 1200px) {
    .store-card { flex: 0 1 calc(25% - 32px); }
}
@media (max-width: 900px) {
    .store-card { flex: 0 1 calc(33.33% - 32px); }
}
@media (max-width: 700px) {
    .store-card { flex: 0 1 calc(50% - 32px); }
}
@media (max-width: 600px) {
    .store-card-list {
        flex-direction: column;
        gap: 18px;
    }
    .store-card {
        max-width: 100%;
        min-width: 0;
    }
}
@media (max-width: 500px) {
    .store-container { margin: 40px 0 24px 0; padding: 0 4px; }
    .store-card-list { gap: 12px; }
    .store-card { flex: 0 1 100%; min-width: 0; max-width: 100%; }
}

/* 让分组和标题整体靠左 */
.store-container {
    margin-left: 40px;
    margin-right: 0;
    max-width: 1200px;
    padding: 0 16px;
}
.service-group {
    text-align: left;
    margin-bottom: 48px;
}
.store-title {
    text-align: left;
    margin-left: 0;
    margin-bottom: 18px;
}
.store-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start !important;
    align-items: stretch;
}
.store-card {
    background: rgba(30, 34, 44, 0.82);
    border-radius: 18px;
    box-shadow: 0 2px 16px #00eaff22;
    padding: 28px 22px 22px 22px;
    min-width: 220px;
    max-width: 260px;
    flex: 0 1 calc(20% - 32px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.22s, transform 0.22s, border 0.22s, filter 0.22s;
    position: relative;
    color: #fff;
    border: 1.5px solid #00eaff33;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    filter: drop-shadow(0 0 0 #00eaff00);
}
.store-card:hover, .store-card:focus {
    background: rgba(30, 34, 44, 0.92);
    box-shadow:
        0 0 0 4px #00eaff44,
        0 0 24px 8px #00eaffcc,
        0 8px 32px #00eaff88,
        0 0 32px 16px #00eaff55 !important;
    filter: brightness(1.18) drop-shadow(0 0 24px #00eaffcc) !important;
    border: 2.5px solid #00eaff !important;
    z-index: 2;
    transition: box-shadow 0.22s, filter 0.22s, border 0.22s, background 0.22s;
    outline: none;
}
@media (max-width: 1200px) {
    .store-card { flex: 0 1 calc(25% - 32px); }
}
@media (max-width: 900px) {
    .store-card { flex: 0 1 calc(33.33% - 32px); }
}
@media (max-width: 700px) {
    .store-card { flex: 0 1 calc(50% - 32px); }
}
@media (max-width: 600px) {
    .store-card-list {
        flex-direction: column;
        gap: 18px;
    }
    .store-card {
        max-width: 100%;
        min-width: 0;
    }
}
@media (max-width: 500px) {
    .store-container { margin: 40px 0 24px 0; padding: 0 4px; }
    .store-card-list { gap: 12px; }
    .store-card { flex: 0 1 100%; min-width: 0; max-width: 100%; }
}

/* ===== 页脚自动吸底布局 ===== */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.store-container,
.main-content,
.page-content {
    flex: 1;
}

/* 默认（PC端）字体设置 */
.navbar .logo {
    font-size: 2.2rem;
}
.navbar .nav-links a {
    font-size: 1.3rem;
}

/* 移动端字体设置 */
@media (max-width: 768px) {
    .navbar .logo {
        font-size: 1.4rem;
    }
    .navbar .nav-links a {
        font-size: 1rem;
        padding: 8px 12px;
        display: block;
        width: 100%;
        text-align: left;
    }
}

/* 汉堡按钮样式 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 38px;
    height: 38px;
    margin-left: auto;
    margin-right: 0.5rem;
}
.hamburger span {
    height: 7px; /* 加粗 */
    background: #00eaff;
    margin: 5px 0;
    border-radius: 3px;
    display: block;
    width: 32px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 200;
    }
    .navbar .nav-links {
        display: none !important;
        position: absolute;
        top: 4rem;
        right: 0;
        background: #181f26;
        flex-direction: column;
        width: 55vw;
        max-width: 180px;
        min-width: 100px;
        max-height: 80vh;
        overflow-y: auto;
        height: auto;
        box-shadow: 0 2px 16px rgba(0,0,0,0.12);
        border-radius: 0 0 0 12px;
        z-index: 150;
        list-style: none;
        padding: 0;
    }
    .navbar .nav-links.active {
        display: flex !important;
    }
    .navbar .nav-links li {
        margin: 1.5rem 0;
        text-align: left;
        margin-left: 1rem;
        margin-right: 1rem;
    }
}
