/* 移动端布局 - 固定宽度560px */
.container {
    width: 560px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

/* 功能卡片 - 一行三个 */
.function-cards-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

/* 功能卡片样式 */
.function-card {
    flex: 1;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.function-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 营业时间卡片 */
.hours-card {
    margin-bottom: 15px;
}

/* 营业时间行布局 */
.hours-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 10px;
}

/* 单个营业时间段样式 */
.hour-item {
    text-align: center;
    flex: 1;
}

/* 餐段名称 */
.hour-name {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

/* 时间段 */
.hour-time {
    display: block;
    font-size: 12px;
    color: #666;
}

    .function-card {
        padding: 15px;
    }

    .function-card h3 {
        font-size: 16px;
    }

    .function-card p {
        font-size: 12px;
    }

    /* 菜单布局 */
    .menu-layout {
        display: flex;
        flex-direction: row;  /* 改为横向排列 */
        gap: 10px;
    }

    /* 左侧菜单类型选择 */
    .side-tabs {
        display: flex;
        flex-direction: column;  /* 改为纵向排列 */
        gap: 5px;
        padding: 10px 0;
        min-width: 40px;  /* 减小宽度，因为文字是竖排的 */
    }

    .side-tab {
        width: 100%;
        padding: 8px 0;  /* 调整padding适应竖排文字 */
        font-size: 14px;
        text-align: center;
        border: none;
        background: none;
        cursor: pointer;
        writing-mode: vertical-lr;  /* 文字竖排，从左到右 */
        letter-spacing: 2px;  /* 增加字间距 */
        border-right: 2px solid transparent;  /* 添加透明边框，防止选中时抖动 */
        height: 80px;  /* 固定高度，容纳竖排文字 */
    }

    .side-tab.active {
        border-right: 2px solid #1890ff;  /* 右边绿线 */
    }

    /* 右侧内容区域 */
    .content-area {
        flex: 1;
        overflow-x: hidden;
    }

    /* 菜单卡片 */
    .menu-card-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .menu-card-item {
        margin-bottom: 10px;
        padding: 12px;
    }

    .menu-card-item-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    /* 标签页 */
    .tab-container {
        justify-content: space-between;
    }

    .tab-button {
        flex: 1;
        padding: 10px 5px;
        font-size: 14px;
    }

    /* 导航按钮 */
    .menu-nav-button {
        padding: 5px;
        min-width: 30px;
        font-size: 12px;
    }

    .menu-title {
        font-size: 16px;
    }

    /* 标签 */
    .menu-card-item-tags {
        gap: 3px;
    }

    .bonus-tag,
    .featured-tag,
    .trending-tag {
        font-size: 10px;
        padding: 1px 6px;
    }
