/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden;
  background: url(./assets/banner/011.png) no-repeat;
  background-color: #F4F5F9;
  background-size: 100%;
}

/* 小鹏主题色 */
:root {
  --xpeng-blue: #1e6bff;
  --xpeng-light-blue: #e6f0ff;
  --xpeng-dark: #2d3748;
  --xpeng-accent: #00c2ff;
  --xpeng-silver: #f5f7fa;
  --xpeng-bg-color: #F4F5F9;
  ;
}

/* 页面容器 */
.page-container {
  max-width: 100%;
  min-height: 100vh;
  padding-bottom: 72px;
}

/* 头部导航 */
.header {
 
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background-color: transparent;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 0 15px;
  z-index: 100;
  color: #fff;
}

.header-bg {
  width: 100%;
  height: 88px;
  background-color: #F4F5F9;
  margin-top: -50px;
  background: linear-gradient(360deg, rgba(209, 236, 253, 0) 0%, #D1E6FD 100%);
  border-radius: 0px 0px 0px 0px;
  z-index: -1;
}


.form-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  height: 88px;
  background-color: #F4F5F9;
  background: linear-gradient(360deg, rgba(209, 236, 253, 0) 0%, #D1E6FD 100%);
}

.header .logo {
  height: 18px;
}

.header .title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.header .login-btn {
  text-align: right;
  font-size: 14px;
}

.header .back-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 主要内容区 */
.main-content {
  /* margin-top: 50px; */
  margin-top: 200px;
  padding: 15px;
}

/* 轮播图 */
.banner-container {
  width: 100%;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.banner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center 30%;
}



.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(13, 53, 82, 1), rgba(255, 255, 255, 0.1));
  border-radius: 16px;
  opacity: 0.8;
  z-index: 0;
}

.banner h1 {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 10px;
  /* color: var(--xpeng-dark); */
  color: #fff;
  position: relative;
  z-index: 1;
}

.banner p {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: bold;
  font-size: 13px;
  color: #FFFFFF;
  text-shadow: 1px 2px 2px rgba(10, 14, 57, 0.68);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.banner .btn {
  align-self: flex-start;
  background-color: var(--xpeng-blue);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.banner .car-img {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: 100px;
  height: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* 介绍文字 */
.jieshao-text {
  background: rgba(250, 252, 252, 0.6);
  border-radius: 16px 16px 16px 16px;
  padding: 16px;
  margin-bottom: 20px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.jieshao-text-title {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
}

.jieshao-text-content {
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.7);
  line-height: 24px;
  white-space: pre-line;
}

/* 特色区块 */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  /* margin-top: 190px; */
  margin-top:160px;
  background: rgba(59, 62, 76, 0.05);
  border-radius: 16px 16px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 12px;
}

.features::after{
  width: 100%;
  height: 100%;
  background-color:rgba(255, 255, 255, 0.5);
  margin: 0 16px;
}
.feature-card{
  
}

.feature-card img{
  width: 100%;
  height: 100%;
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #000;
  font-size: 18px;
}

.feature-icon img {
  width: 40px;
  height: 40px;
}


.feature-card h3 {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--xpeng-dark);
}

.feature-card p {
  font-size: 8px;
  color: #888;
}

/* 基地选择 */
.section-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0px 0 15px;
  position: relative;
  padding-left: 10px;
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
}


.factory-tabs {
  display: flex;
  overflow-x: auto;
  padding-bottom: 5px;
  margin-bottom: 15px;
  -webkit-overflow-scrolling: touch;
}

.factory-tabs::-webkit-scrollbar {
  display: none;
}

.factory-tab {
  /* flex: 0 0 auto; */
  flex: 1;
  padding: 8px 15px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  font-family: Source Han Sans CN, Source Han Sans CN;
  width: 50%;
  text-align: center;
}

.factory-tab.active {
  border-bottom: 1px solid #8EB500;
  color: #000;
}

.ticket-card {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.ticket-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.ticket-header .icon {
  width: 24px;
  height: 24px;
  background-color: var(--xpeng-light-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xpeng-blue);
  margin-right: 10px;
}

.ticket-header h3 {
  font-size: 16px;
  color: var(--xpeng-dark);
}

.ticket-header .location {
  font-size: 12px;
  color: #999;
  margin-top: 3px;
}

.ticket-option {
  border: 2px solid #f0f2f5;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #fafbfc;
}

.ticket-option.selected {
  border-color: #2a2a2a;
  background-color: var(--xpeng-light-blue);
  box-shadow: 0 4px 15px rgba(51, 116, 255, 0.15);
  transform: translateY(-2px);
}

.ticket-option:hover {
  border-color: #242424;
  background-color: white;
  box-shadow: 0 6px 20px rgba(51, 116, 255, 0.12);
  transform: translateY(-1px);
}

.ticket-image {
  width: 100%;
  height: 150px;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.ticket-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ticket-option h4 {
  font-size: 15px;
  color: var(--xpeng-dark);
  margin: 0;
  font-weight: 500;
}

.ticket-option .price {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

.ticket-desc {
  font-size: 12px;
  color: #999;
  margin: 0;
  line-height: 1.4;
  white-space: pre-line;
}

/* 兼容旧版本样式 */
.ticket-option .top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.ticket-option p {
  font-size: 12px;
  color: #999;
}

.ticket-counter{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.book-btn-duihuanma {
  width: 100%;
  box-sizing: border-box;
  background-color: #000;
  color: white;
  border: none !important;
  border-radius: 12px;
  font-size: 14px !important;
  padding: 10px !important;
}

.book-btn {
  position: fixed;
  bottom: 85px;
  box-sizing: border-box;
  /* 底部导航高度60px + 15px间距 */
  left: 15px !important;
  right: 15px !important;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(51, 116, 255, 0.3);
  transition: all 0.3s ease;

}

.book-btn:hover {
  background-color: #2d5ce8;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(51, 116, 255, 0.4);
}

.book-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 15px rgba(51, 116, 255, 0.3);
}

/* 按钮弹动动画 */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-6px);
  }

  60% {
    transform: translateY(-3px);
  }
}

.book-btn.bounce {
  animation: bounce 0.6s ease-in-out;
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: rgba(124, 124, 124, 1);
  box-shadow: inset 0px 1px 0px 0px rgba(140, 140, 140, 0.25);
  border-radius: 80px;
  margin: 0 15px 16px;
  display: flex;
  z-index: 100;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 17px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7495%) hue-rotate(288deg) brightness(100%) contrast(100%);


}

.nav-item img {
  width: 25px;
  height: 25px;
}

.nav-item.active {
  color: #000;
  filter: unset;
}

.nav-icon {
  font-size: 20px;
  margin-bottom: 3px;
  margin-bottom: -4px;
}


/* 表单页面 */
.form-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 15px;
  overflow-y: auto;
}

.form-page.active {
  transform: translateX(0);
}

.form-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.form-title .back-btn {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #666;
}

.form-group img{
  margin-top: 10px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 15px;
  background-color: #f9fafb;
}

.form-control:focus {
  border-color: var(--xpeng-blue);
  background-color: white;
}

/* 隐藏日期输入框的placeholder */
input[type="date"]::-webkit-input-placeholder { color: transparent; }
input[type="date"]::-moz-placeholder { color: transparent; }
input[type="date"]:-ms-input-placeholder { color: transparent; }
input[type="date"]::placeholder { color: transparent; }

.submit-btn {
  width: 100%;
  background-color:#000;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
}

/* 成功页面 */
.success-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 300;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #e6f7e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4caf50;
  font-size: 40px;
  margin-bottom: 20px;
}

.success-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.success-text {
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}

.qrcode-container {
  width: 200px;
  height: 200px;
  background-color: #f9f9f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.qrcode {
  font-size: 60px;
  color: #ccc;
}

.action-btns {
  display: flex;
  width: 100%;
  gap: 15px;
  margin-top: 20px;
}

.action-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.primary-btn {
  background-color: var(--xpeng-blue);
  color: white;
  border: none;
}

.secondary-btn {
  background-color: white;
  color: var(--xpeng-blue);
  border: 1px solid var(--xpeng-blue);
}

/* 通用页面样式 - 与首页保持一致 */
.ticket-page,
.my-page {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  padding-bottom: 140px;
  /* 增加底部内边距，为悬浮按钮预留空间 */
  background-color: #f5f7fa;
}

/* 页面头部样式 - 复用header样式 */
.page-header {
  position: sticky;
  top: 0;
  background: white;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  z-index: 99;
}

.page-header h1 {
  font-size: 18px;
  font-weight: 500;
  color: var(--xpeng-dark);
  margin: 0;
}

/* 页面内容区 - 复用main-content样式 */
.ticket-page .page-content {
  width: 100%;
  box-sizing: border-box;
  margin-top: -33px;
  padding: 15px;
}

.my-page .page-content {
  margin-top: -33px;
  padding: 15px;
}

/* 我的页面手风琴样式 */
.uc-accordion {
  margin: 18px 0;
}

.uc-accordion-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.uc-accordion-header {
  display: flex;
  align-items: center;
  padding: 18px;
  font-size: 16px;
  color: var(--xpeng-dark);
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: all 0.3s ease;
}

.uc-accordion-header:hover {
  background: #F4F5F9;
}

.uc-accordion-header.active {
  background: #fff;
}

.uc-accordion-icon {
  font-size: 20px;
  margin-right: 14px;
  width: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-accordion-icon img {
  width: 24px;
  height: 24px;
}

.uc-accordion-arrow {
  margin-left: auto;
  color: #A5A5A5;
  font-size: 16px;
  transition: transform 0.3s ease;
}

.uc-accordion-header.active .uc-accordion-arrow {
  transform: rotate(90deg);
}

.uc-accordion-content {
  display: none;
  padding: 0 18px 18px 18px;
  background: #fafbfc;
  font-size: 15px;
  color: #444;
}

.uc-accordion-content.active {
  display: block;
}

.uc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uc-list-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.uc-list-item:last-child {
  border-bottom: none;
}

.uc-list-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--xpeng-dark);
  font-size: 15px;
}

.uc-list-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.4;
}

.uc-logout {
  margin: 30px 0 0 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px 4px 4px 4px;
  border: 1px solid #000000;
  text-align: center;
  padding: 16px 0;
  color: rgba(0, 0, 0, 0.8);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.uc-logout:hover {
  background: #fff;
  transform: translateY(-2px);
}

.uc-login {
  margin: 30px 0 0 0;
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 16px 0;
  color: var(--xpeng-blue);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 15px #f0f2f5;
  border: 1px solid rgb(69, 119, 255);
  transition: all 0.3s ease;
}


.uc-login:hover {
  background: #fafdff;
  border-color: #f0f2f5;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgb(142, 182, 205);
}

/* 空状态样式 - 我的页面使用 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state .empty-icon {
  margin-bottom: 20px;
  opacity: 0.6;
}

.empty-state h3 {
  font-size: 18px;
  color: var(--xpeng-dark);
  margin-bottom: 10px;
}

.empty-state p {
  color: #999;
  font-size: 14px;
}

/* 首页介绍内容样式 */
.home-intro {
  margin-top: 20px;
}

/* 通用卡片样式 - 可复用于多个页面 */
.intro-card,
.content-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
}

.intro-card h3,
.content-card h3 {
  font-size: 18px;
  color: var(--xpeng-dark);
  margin-bottom: 15px;
}

.intro-card p,
.content-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* 特色列表样式 */
.intro-features,
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.intro-features li,
.feature-list li {
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.intro-features li:before,
.feature-list li:before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--xpeng-blue);
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

/* 基地详情卡片 */
.factory-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 0 20px 20px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background-image: linear-gradient(180deg, rgba(214, 220, 230, 0.5) 0%, rgba(255, 255, 255, 0) 100%), url(./assets/03.png);
  /*background-size: 100% auto, 100% auto;*/
  background-repeat: no-repeat;
  background-position: top, bottom;
}

.empty-factory {
  padding: 40px;
  background:linear-gradient(180deg, rgba(214, 220, 230, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
}

.factory-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.factory-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.factory-info {
  padding: 30px 0 0 0;
}

.factory-info h3 {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: bold;
  font-size: 18px;
  color: #000;
  margin-bottom: 5px;
}

.factory-location {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 15px;
}

.factory-description {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 24px;
  margin-bottom: 15px;
  white-space: pre-line;
}

.factory-features {
  list-style: none;
  margin-bottom: 20px;
}

.factory-features li {
  padding: 8px 0;
  color: #666;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.factory-features li:last-child {
  border-bottom: none;
}


.factory-baygroup-item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.factory-bay-left h2 {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 500;
  font-size: 16px;
  color: #000;
  margin-bottom: 5px;
}

.factory-bay-left p {
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  max-width: 200px;
}

.factory-bay-lright{
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.factory-bay-right {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 16px 16px 16px 16px;
  border: 1px solid #1D1E20;
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 12px;
  padding: 5px 12px;
}

.factory-bay-right:hover {
  background: #000000;
  color: #fff;
  cursor: pointer;
  transform: translateY(-1px);
}

.factory-bay-right:active {
  background: #000000;
  color: #fff;
  transform: translateY(0);
}

.reserve-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(90deg, #ebe9eb 0%, #dddfe4 100%);
  border: 1px solid #dddfe4;
  color: #000;
  border: none;
  border-radius: 4px;
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reserve-btn:hover {
  background: linear-gradient(90deg, #ebe9eb 0%, #dddfe4 100%);
  transform: translateY(-1px);
}

.reserve-btn:active {
  transform: translateY(0);
}

/* 响应式设计优化 */
@media (max-width: 375px) {

  /* 统一小屏幕下的内边距 */
  .main-content,
  .ticket-page .page-content,
  .my-page .page-content {
    padding: 10px;
  }

  /* 统一卡片在小屏幕下的内边距 */
  .intro-card,
  .content-card {
    padding: 15px;
  }

  /* 页面头部在小屏幕下的优化 */
  .page-header {
    padding: 12px 10px;
  }

  .page-header h1 {
    font-size: 16px;
  }

  /* 空状态在小屏幕下的优化 */
  .empty-state {
    padding: 30px 15px;
  }
}

.counter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.counter-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  font-size: 20px;
  outline: none;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  cursor: pointer;
  background: #f3f3f3;
  color: #a1a1a1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-btn:disabled {
  background: #f5f5f5;
  color: #bbb;
  cursor: not-allowed;
  box-shadow: none;
}
.counter-btn.plus {
  background: #f1f1f1;
  color: #9e9e9e;
  box-shadow: 0 1px 4px rgba(162,89,255,0.08);
}
.counter-value {
  min-width: 24px;
  text-align: center;
  font-size: 18px;
}


.order-btn{
  background: rgba(251, 249, 249, 0.3);
  color: #000;
  padding: 2px 10px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 10px;
}