
.food-order-container[data-v-2922a6e9] {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  font-family: 'Arial', sans-serif;
  padding-bottom: 80px; /* 为购物车按钮留出空间 */
}

/* 顶部导航栏 */
.top-nav[data-v-2922a6e9] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 15px 0;
}
.menu-icon[data-v-2922a6e9], .notification-icon[data-v-2922a6e9] {
  width: 50px;  /* 增加尺寸 */
  height: 50px; /* 增加尺寸 */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: #f5f5f5;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background-color 0.3s, -webkit-transform 0.2s;
  transition: background-color 0.3s, -webkit-transform 0.2s;
  transition: background-color 0.3s, transform 0.2s;
  transition: background-color 0.3s, transform 0.2s, -webkit-transform 0.2s;
  font-size: 22px; /* 增加图标大小 */
  position: relative; /* 添加相对定位，用于角标定位 */
}

/* 购物车角标 */
.cart-badge[data-v-2922a6e9] {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4d4f;
  color: white;
  font-size: 12px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-weight: bold;
  -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.menu-icon[data-v-2922a6e9]:hover, .notification-icon[data-v-2922a6e9]:hover {
  background-color: #e0e0e0;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

/* 食品分类 */
.food-categories[data-v-2922a6e9] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 20px 0;
}
.category-item[data-v-2922a6e9] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 23%;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
}
.category-item[data-v-2922a6e9]:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
}
.category-icon[data-v-2922a6e9] {
  width: 60px;
  height: 60px;
  background-color: #f5f5f5;
  border-radius: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 8px;
  font-size: 24px;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.category-item:hover .category-icon[data-v-2922a6e9] {
  background-color: #e0e0e0;
}
.promo-icon[data-v-2922a6e9] {
  background-color: #e6f7e6;
  color: #4caf50;
}
.category-item:hover .promo-icon[data-v-2922a6e9] {
  background-color: #d4f0d4;
}
.category-name[data-v-2922a6e9] {
  font-size: 14px;
}

/* 今日特惠 */
.deal-banner[data-v-2922a6e9] {
  background-color: #fff9c4;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  overflow: hidden;
  height: 150px;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.deal-banner[data-v-2922a6e9]:hover {
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
}
.deal-content[data-v-2922a6e9] {
  width: 60%;
  z-index: 1;
}
.deal-content h2[data-v-2922a6e9] {
  margin: 0 0 10px;
  font-size: 22px;
}
.deal-content p[data-v-2922a6e9] {
  margin: 0 0 15px;
  font-size: 14px;
}
.deal-button[data-v-2922a6e9] {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}
.deal-button[data-v-2922a6e9]:hover {
  background-color: #333;
}
.deal-button i[data-v-2922a6e9] {
  margin-left: 5px;
}
.deal-image[data-v-2922a6e9] {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1550547660-d9450f859349?ixlib=rb-1.2.1&auto=format&fit=crop&w=300&q=80');
  background-size: cover;
  background-position: center;
}

/* 热门食品 */
.top-rated-section[data-v-2922a6e9] {
  margin: 30px 0;
}
.top-rated-section h2[data-v-2922a6e9] {
  margin-bottom: 20px;
}
.food-grid[data-v-2922a6e9] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.food-card[data-v-2922a6e9] {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  -webkit-transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s, -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
}
.food-card[data-v-2922a6e9]:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.food-image[data-v-2922a6e9] {
  height: 150px;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* 移除评分相关样式 */
/* 
.rating {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #fff;
  padding: 3px 8px;
  border-radius: 15px;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.rating i {
  color: #ffc107;
  margin-right: 3px;
}
*/
.food-info[data-v-2922a6e9] {
  padding: 15px;
}
.food-name[data-v-2922a6e9] {
  font-weight: bold;
  margin-bottom: 10px;
}
.food-price-controls[data-v-2922a6e9] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.food-price[data-v-2922a6e9] {
  font-weight: bold;
  color: #4caf50;
}
.quantity-controls[data-v-2922a6e9] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.quantity-btn[data-v-2922a6e9] {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  background-color: #f5f5f5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
}
.quantity[data-v-2922a6e9] {
  margin: 0 10px;
}

/* 结账按钮样式 */
.checkout-button[data-v-2922a6e9] {
  position: fixed;
  bottom: 25px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 80%;
  max-width: 400px;
  height: 60px;
  -webkit-perspective: 1000px;
          perspective: 1000px;
  z-index: 100;
}
.checkout-button-inner[data-v-2922a6e9] {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #4caf50, #45a049);
  border-radius: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  -webkit-box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2),
              0 -2px 6px rgba(255, 255, 255, 0.1) inset,
              0 2px 6px rgba(0, 0, 0, 0.2) inset;
          box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2),
              0 -2px 6px rgba(255, 255, 255, 0.1) inset,
              0 2px 6px rgba(0, 0, 0, 0.2) inset;
  -webkit-transition: all 0.3s ease, -webkit-transform 0.1s ease;
  transition: all 0.3s ease, -webkit-transform 0.1s ease;
  transition: all 0.3s ease, transform 0.1s ease;
  transition: all 0.3s ease, transform 0.1s ease, -webkit-transform 0.1s ease;
  overflow: hidden;
}
.checkout-button-inner[data-v-2922a6e9]:hover {
  -webkit-box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25),
              0 -2px 6px rgba(255, 255, 255, 0.1) inset,
              0 2px 6px rgba(0, 0, 0, 0.2) inset;
          box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25),
              0 -2px 6px rgba(255, 255, 255, 0.1) inset,
              0 2px 6px rgba(0, 0, 0, 0.2) inset;
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.checkout-button-inner[data-v-2922a6e9]:active {
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2),
              0 -1px 4px rgba(255, 255, 255, 0.1) inset,
              0 1px 4px rgba(0, 0, 0, 0.2) inset;
          box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2),
              0 -1px 4px rgba(255, 255, 255, 0.1) inset,
              0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.checkout-button-inner i[data-v-2922a6e9] {
  font-size: 24px;
  margin-right: 10px;
}
.checkout-text[data-v-2922a6e9] {
  margin-right: 15px;
}
.checkout-total[data-v-2922a6e9] {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 16px;
}

/* 响应式设计 */
@media (min-width: 768px) {
.food-grid[data-v-2922a6e9] {
    grid-template-columns: repeat(4, 1fr);
}
.deal-banner[data-v-2922a6e9] {
    height: 200px;
}
.deal-content h2[data-v-2922a6e9] {
    font-size: 28px;
}
.deal-content p[data-v-2922a6e9] {
    font-size: 16px;
}
.category-icon[data-v-2922a6e9] {
    width: 80px;
    height: 80px;
}
.category-name[data-v-2922a6e9] {
    font-size: 16px;
}
}

