:root {
    --teal: #3099a0;
    --bg-color: #faf8f5;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --card-border: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.5;
}

/* ====== 顶部导航栏 ====== */
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
    border-bottom: 1px solid var(--card-border);
}
.header-left .back-link {
    color: var(--teal);
    text-decoration: none;
    font-weight: 500;
}
.header-center {
    text-align: center;
}
.header-center h1 {
    font-family: 'Playfair Display', serif;
    color: var(--teal);
    font-size: 28px;
    letter-spacing: 2px;
}
.header-center p {
    color: var(--text-gray);
    font-size: 12px;
}
.header-right .cart-icon {
    position: relative;
    color: var(--teal);
    cursor: pointer;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--teal);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ====== 提示横幅 ====== */
.notice-bar {
    background: #e8f4f4;
    color: var(--teal);
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-bottom: 1px solid #d0e8e8;
}

/* ====== 分类标签 + 搜索 ====== */
.category-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid var(--card-border);
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}
.category-tabs {
    display: flex;
    gap: 30px;
}
.tab {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.tab:hover, .tab.active {
    color: var(--teal);
    border-bottom-color: var(--teal);
}
.search-bar input {
    padding: 10px 18px;
    border: 1px solid var(--card-border);
    border-radius: 30px;
    font-size: 14px;
    width: 220px;
    outline: none;
}
.search-bar input:focus {
    border-color: var(--teal);
}

/* ====== 商品区 ====== */
.order-main {
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.menu-section {
    margin-bottom: 60px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--teal);
    font-size: 36px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 10px;
    display: inline-block;
}

/* ====== 商品网格（两列） ====== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ====== 单个商品卡片 ====== */
.product-card {
    display: flex;
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.product-info {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.product-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}
.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.price {
    font-weight: 600;
    color: var(--teal);
}
.add-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--teal);
    background: white;
    color: var(--teal);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.add-btn:hover {
    background: var(--teal);
    color: white;
    transform: scale(1.1);
}
.product-img {
    width: 140px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ====== 响应式：手机端变成单列 ====== */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .category-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .category-tabs {
        flex-wrap: wrap;
        gap: 15px;
    }
    .search-bar input {
        width: 100%;
    }
}
/* ====== 底部信息栏 ====== */
.order-footer {
    background-color: #1a1a1a; /* 深色背景，和参考图一致 */
    color: #e0e0e0;
    padding: 40px 5% 30px;
    margin-top: 60px;
    font-family: 'Poppins', sans-serif;
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 600px;
}

.footer-info p {
    font-size: 14px;
    color: #cccccc;
    margin: 0;
}

.footer-address {
    color: #999;
    text-decoration: underline;
    cursor: pointer;
}

/* 营业状态小圆点 */
.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e74c3c; /* 红色 */
}

.footer-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 14px;
    margin-top: 5px;
}

.footer-social {
    color: #ffffff;
    margin-top: 10px;
    display: inline-block;
}

/* 底部版权行 */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 30px;
    font-size: 13px;
    color: #888;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
}

.footer-links a {
    color: #cccccc;
    text-decoration: underline;
}

.footer-links a:hover,
.footer-link:hover,
.footer-address:hover {
    color: #ffffff;
}

/* 响应式：手机端时，底部版权行换行 */
@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}